Skip to main content

MentionableSelectComponent

@discordeno/bot


Documentation / @discordeno/bot / MentionableSelectComponent

Interface: MentionableSelectComponent

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

https://discord.com/developers/docs/components/reference#mentionable-select-mentionable-select-structure

Extends

Properties

customId

customId: string

Defined in: packages/types/dist/types/discordeno.d.ts:161

A custom identifier for this component. Maximum 100 characters.


defaultValues?

optional defaultValues: SelectMenuDefaultValue[]

Defined in: packages/types/dist/types/discordeno.d.ts:168

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?

optional disabled: boolean

Defined in: packages/types/dist/types/discordeno.d.ts:174

Whether or not this select is disabled


id?

optional id: number

Defined in: packages/types/dist/types/discordeno.d.ts:65

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


maxValues?

optional maxValues: number

Defined in: packages/types/dist/types/discordeno.d.ts:172

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


minValues?

optional minValues: number

Defined in: packages/types/dist/types/discordeno.d.ts:170

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


placeholder?

optional placeholder: string

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

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


type

type: MentionableSelect

Defined in: packages/types/dist/types/discordeno.d.ts:159

The type of the component

Overrides

BaseComponent.type