APISelectMenuComponent
Hierarchy
- APIBaseComponent<ComponentType.StringSelect | ComponentType.UserSelect | ComponentType.RoleSelect | ComponentType.MentionableSelect | ComponentType.ChannelSelect>
- APISelectMenuComponent
Index
Properties
optionalchannel_types
List of channel types to include in the ChannelSelect component
custom_id
A developer-defined identifier for the select menu, max 100 characters
optionaldisabled
Disable the select
optionalmax_values
The maximum number of items that can be chosen; max 25
optionalmin_values
The minimum number of items that must be chosen; min 0, max 25
optionaloptions
Specified choices in a select menu (only required and available for StringSelect, max 25)
optionalplaceholder
Custom placeholder text if nothing is selected, max 150 characters
type
The type of the component
https://discord.com/developers/docs/interactions/message-components#select-menus