ChannelSelectMenuComponent

export class ChannelSelectMenuComponent extends BaseSelectMenuComponent<APIChannelSelectComponent>
export class ChannelSelectMenuComponent extends BaseSelectMenuComponent<APIChannelSelectComponent>
Represents a channel select menu component
Readonly
channelTypes?:Array<ChannelType>
The options in this select menu
Readonly
customId:string
The custom id of this select menu
The API data associated with this component
Readonly
disabled:boolean
Whether this select menu is disabled
Readonly
maxValues?:number
The maximum amount of options that can be selected
Readonly
minValues?:number
The minimum amount of options that must be selected
Readonly
placeholder?:string
The placeholder for this select menu
Readonly
The type of the component
equals(other):boolean
Whether or not the given components are equal
NameTypeOptionalDescription
otherthis | DataNoThe component to compare against
Inherited from Component
getChannelTypes():ChannelType[] | null
toJSON():Data
Returns the API-compatible JSON for this component
Inherited from Component