declare class SlashCommandBooleanOption extends ApplicationCommandOptionBase
A slash command boolean option.
readonlyoptionalexternalLocalizationMap description_localizations? :
The description localizations of this command.
Inherited from: SharedNameAndDescription
readonlyexternalstring description :
The description of this command.
Inherited from: SharedNameAndDescription
readonlyoptionalexternalLocalizationMap name_localizations? :
The name localizations of this command.
Inherited from: SharedNameAndDescription
readonlyexternalboolean = false required :
Whether this option is required.
Inherited from: ApplicationCommandOptionBase
readonlyexternalApplicationCommandOptionType.Boolean type :
The type of this option.
protectedexternal runRequiredValidationsvoid () :
This method runs required validators on this builder.
Inherited from: ApplicationCommandOptionBase
external setDescriptiondescription: string) : this (
Sets the description of this command.
Inherited from: SharedNameAndDescription
external setDescriptionLocalizationlocale: LocaleString) : this (
Sets a description localization for this command.
Inherited from: SharedNameAndDescription
external setDescriptionLocalizationslocalizedDescriptions: LocalizationMap | null) : this (
Sets the description localizations for this command.
Inherited from: SharedNameAndDescription
external setNamename: string) : this (
Sets the name of this command.
Inherited from: SharedNameAndDescription
external setNameLocalizationlocale: LocaleString) : this (
Sets a name localization for this command.
Inherited from: SharedNameAndDescription
external setNameLocalizationslocalizedNames: LocalizationMap | null) : this (
Sets the name localizations for this command.
Inherited from: SharedNameAndDescription
external setRequiredrequired: boolean) : this (
Sets whether this option is required.
Inherited from: ApplicationCommandOptionBase
external toJSONAPIApplicationCommandBooleanOption () :
Serializes this builder to API-compatible JSON data.