Sets whether the option is the default. [Default=true] - Indicates whether the option is the default.
The current StringSelectOption instance.
Sets the description for the option. description - The description for the option.
The current StringSelectOption instance.
Sets the emoji for the option.
The emoji to set.
The modified option instance.
Sets the label for the option. label - The label for the option.
The current StringSelectOption instance.
Sets the value for the option. value - The value for the option.
The current StringSelectOption instance.
Converts the option to JSON format.
The option data in JSON format.
Represents an individual option for a string select menu.
Example