class StringSelectMenuOptionBuilder
extends
BuildersSelectMenuOptionexport class StringSelectMenuOptionBuilder extends BuildersSelectMenuOption
Represents a select menu option builder.
externalPartial<APISelectMenuOption> data :
Inherited from: SelectMenuOptionBuilder
static from) : StringSelectMenuOptionBuilder (
Creates a new select menu option builder from JSON data
external setDefaultisDefault?: boolean) : this (
isDefault?: boolean
Sets whether this option is selected by default.
Inherited from: SelectMenuOptionBuilder
external setDescriptiondescription: string) : this (
description: string
Sets the description for this option.
Inherited from: SelectMenuOptionBuilder
setEmojiemoji: ComponentEmojiResolvable) : this (
emoji: ComponentEmojiResolvable
Sets the emoji to display on this option
external setLabellabel: string) : this (
label: string
Sets the label for this option.
Inherited from: SelectMenuOptionBuilder
external setValuevalue: string) : this (
value: string
Sets the value for this option.
Inherited from: SelectMenuOptionBuilder
external toJSONAPISelectMenuOption () :
Serializes this builder to API-compatible JSON data.
Inherited from: SelectMenuOptionBuilder