interface APIChannelSelectComponent
extends
APIBaseAutoPopulatedSelectMenuComponent<ComponentType.ChannelSelect, SelectMenuDefaultValueType.Channel>export interface APIChannelSelectComponent extends APIBaseAutoPopulatedSelectMenuComponent<ComponentType.ChannelSelect, SelectMenuDefaultValueType.Channel>
See also: https://discord.com/developers/docs/interactions/message-components#select-menus
optionalexternalChannelType[] channel_types? :
List of channel types to include in the ChannelSelect component
externalstring custom_id :
A developer-defined identifier for the select menu, max 100 characters
Inherited from: APIBaseSelectMenuComponent
optionalexternalAPISelectMenuDefaultValue<D>[] default_values? :
List of default values for auto-populated select menu components
Inherited from: APIBaseAutoPopulatedSelectMenuComponent
optionalexternalboolean = false disabled? :
Disable the select
Inherited from: APIBaseSelectMenuComponent
optionalexternalnumber = 1 max_values? :
The maximum number of items that can be chosen; max 25
Inherited from: APIBaseSelectMenuComponent
optionalexternalnumber = 1 min_values? :
The minimum number of items that must be chosen; min 0, max 25
Inherited from: APIBaseSelectMenuComponent
optionalexternalstring placeholder? :
Custom placeholder text if nothing is selected, max 150 characters
Inherited from: APIBaseSelectMenuComponent