SelectOption
Documentation / @discordeno/types / SelectOption
Interface: SelectOption
Defined in: discordeno/components.ts:138
https://docs.discord.com/developers/components/reference#string-select-select-option-structure
Properties
default?
optionaldefault?:boolean
Defined in: discordeno/components.ts:156
Will render this option as already-selected by default.
description?
optionaldescription?:string
Defined in: discordeno/components.ts:144
An additional description of the option. Maximum 50 characters.
emoji?
optionalemoji?:object
Defined in: discordeno/components.ts:147
The id, name, and animated properties of an emoji.
animated?
optionalanimated?:boolean
Whether this emoji is animated
id?
optionalid?:BigString
Emoji id
name?
optionalname?:string
Emoji name
label
label:
string
Defined in: discordeno/components.ts:140
The user-facing name of the option. Maximum 25 characters.
value
value:
string
Defined in: discordeno/components.ts:142
The dev-defined value of the option. Maximum 100 characters.