class BaseSelectMenuBuilder
implements
JSONEncodable<APISelectMenuComponent>extends
ComponentBuilder<Data>abstract
export declare abstract class BaseSelectMenuBuilder<Data extends APISelectMenuComponent> extends ComponentBuilder<Data> implements JSONEncodable<APISelectMenuComponent>
The base select menu builder that contains common symbols for select menu builders.
Type Parameters
APISelectMenuComponent Data extends
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.
abstract toJSONvalidationOverride?: boolean) : Data (
validationOverride?: boolean
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.
Inherited from: ComponentBuilder