Skip to main content

SelectMenuChannelsComponent

@discordeno/botDocs


Documentation / @discordeno/bot / SelectMenuChannelsComponent

Interface: SelectMenuChannelsComponent

Properties

channelTypes?

optional channelTypes: ChannelTypes[]

List of channel types to include in the options list

Defined in

packages/types/dist/types/discordeno.d.ts:169


customId

customId: string

A custom identifier for this component. Maximum 100 characters.

Defined in

packages/types/dist/types/discordeno.d.ts:156


defaultValues?

optional defaultValues: SelectMenuDefaultValue[]

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

Defined in

packages/types/dist/types/discordeno.d.ts:163


disabled?

optional disabled: boolean

Whether or not this select is disabled

Defined in

packages/types/dist/types/discordeno.d.ts:171


maxValues?

optional maxValues: number

The maximum number of items that can be selected. Default 1. Between 1-25.

Defined in

packages/types/dist/types/discordeno.d.ts:167


minValues?

optional minValues: number

The minimum number of items that must be selected. Default 1. Between 1-25.

Defined in

packages/types/dist/types/discordeno.d.ts:165


placeholder?

optional placeholder: string

A custom placeholder text if nothing is selected. Maximum 150 characters.

Defined in

packages/types/dist/types/discordeno.d.ts:158


type

type: SelectMenuChannels

SelectMenuChannels Component is of type 8

Defined in

packages/types/dist/types/discordeno.d.ts:154