declare abstract class BaseSelectMenuBuilder<SelectMenuType extends APISelectMenuComponent> extends ComponentBuilder<SelectMenuType>
The base select menu builder that contains common symbols for select menu builders.
Type Parameters
APISelectMenuComponent SelectMenuType extends
The type of select menu this would be instantiated for.
readonlyexternalPartial<SelectMenuType> data :
The API data associated with this component.
Inherited from: ComponentBuilder
external setCustomIdcustomId: string) : this (
customId: string
Sets the custom id for this select menu.
external setDisableddisabled?: boolean) : this (
disabled?: boolean
Sets whether this select menu is disabled.
external setMaxValuesmaxValues: number) : this (
maxValues: number
Sets the maximum values that must be selected in the select menu.
external setMinValuesminValues: number) : this (
minValues: number
Sets the minimum values that must be selected in the select menu.
external setPlaceholderplaceholder: string) : this (
placeholder: string
Sets the placeholder for this select menu.
external toJSONSelectMenuType () :
Serializes this builder to API-compatible JSON data.