DiscordSelectOption
Documentation / @discordeno/types / DiscordSelectOption
Interface: DiscordSelectOption
Defined in: discord/components.ts:226
https://docs.discord.com/developers/components/reference#string-select-select-option-structure
Properties
default?
optionaldefault?:boolean
Defined in: discord/components.ts:236
Will render this option as already-selected by default.
description?
optionaldescription?:string
Defined in: discord/components.ts:232
An additional description of the option. Maximum 50 characters.
emoji?
optionalemoji?:Partial<Pick<DiscordEmoji,"id"|"name"|"animated">>
Defined in: discord/components.ts:234
The id, name, and animated properties of an emoji.
label
label:
string
Defined in: discord/components.ts:228
The user-facing name of the option. Maximum 25 characters.
value
value:
string
Defined in: discord/components.ts:230
The dev-defined value of the option. Maximum 100 characters.