class BaseSelectMenuBuilder
extends
ComponentBuilder<SelectMenuType>declare class BaseSelectMenuBuilder<SelectMenuType extends APISelectMenuComponent> extends ComponentBuilder<SelectMenuType>
Type Parameters
APISelectMenuComponent SelectMenuType extends
readonlyPartial<DataType> data :
The API data associated with this component
Inherited from: ComponentBuilder
setCustomIdcustomId: string) : this (
customId: string
Sets the custom id for this select menu
setDisableddisabled?: boolean) : this (
disabled?: boolean
Sets whether this select menu is disabled
setMaxValuesmaxValues: number) : this (
maxValues: number
Sets the maximum values that must be selected in the select menu
setMinValuesminValues: number) : this (
minValues: number
Sets the minimum values that must be selected in the select menu
setPlaceholderplaceholder: string) : this (
placeholder: string
Sets the placeholder for this select menu