ChannelSelectComponent
Documentation / @discordeno/types / ChannelSelectComponent
Interface: ChannelSelectComponent
Defined in: discordeno/components.ts:308
https://docs.discord.com/developers/components/reference#channel-select-channel-select-structure
Extends
Properties
channelTypes?
optionalchannelTypes?:ChannelTypes[]
Defined in: discordeno/components.ts:314
List of channel types to include in the options list
customId
customId:
string
Defined in: discordeno/components.ts:312
A custom identifier for this component. Maximum 100 characters.
defaultValues?
optionaldefaultValues?:SelectMenuDefaultValue[]
Defined in: discordeno/components.ts:321
List of default values for auto-populated select menu components The number of default values must be in the range defined by minValues and maxValues
disabled?
optionaldisabled?:boolean
Defined in: discordeno/components.ts:343
Whether select menu is disabled
Remarks
This value cannot be set for select menus in modals
Default
false
id?
optionalid?:number
Defined in: discordeno/components.ts:42
32 bit integer used as an optional identifier for component
Inherited from
maxValues?
optionalmaxValues?:number
Defined in: discordeno/components.ts:325
The maximum number of items that can be selected. Default 1. Max 25.
minValues?
optionalminValues?:number
Defined in: discordeno/components.ts:323
The minimum number of items that must be selected. Default 1. Between 0-25.
placeholder?
optionalplaceholder?:string
Defined in: discordeno/components.ts:316
A custom placeholder text if nothing is selected. Maximum 150 characters.
required?
optionalrequired?:boolean
Defined in: discordeno/components.ts:334
Whether this component is required to be filled
Remarks
This value is only valid for string select menus in modals
Default
true
type
type:
ChannelSelect
Defined in: discordeno/components.ts:309
The type of the component