Optional
data: APISelectMenuOption | SelectMenuComponentOptionDataOptional
isDefault: booleanWhether this option is selected by default
Sets the description for this option.
The description to use
Sets the label for this option.
The label to use
Sets the value for this option.
The value to use
Serializes this builder to API-compatible JSON data.
This method runs validations on the data before serializing it. As such, it may throw an error if the data is invalid.
Static
fromGenerated using TypeDoc
Sets whether this option is selected by default.