export declare class SelectMenuBuilder extends ComponentBuilder<APISelectMenuComponent>
Represents a select menu component
The options within this select menu
Adds options to this select menu
Name | Type | Optional | Description |
---|---|---|---|
options | RestOrArray<SelectMenuOptionBuilder | APISelectMenuOption> | No | None |
Sets the custom id for this select menu
Name | Type | Optional | Description |
---|---|---|---|
customId | string | No | None |
Sets whether this select menu is disabled
Name | Type | Optional | Description |
---|---|---|---|
disabled | boolean | Yes | None |
Sets the maximum values that must be selected in the select menu
Name | Type | Optional | Description |
---|---|---|---|
maxValues | number | No | None |
Sets the minimum values that must be selected in the select menu
Name | Type | Optional | Description |
---|---|---|---|
minValues | number | No | None |
Sets the options on this select menu
Name | Type | Optional | Description |
---|---|---|---|
options | RestOrArray<SelectMenuOptionBuilder | APISelectMenuOption> | No | None |
Sets the placeholder for this select menu
Name | Type | Optional | Description |
---|---|---|---|
placeholder | string | No | None |