class SlashCommandBooleanOption
extends
ApplicationCommandOptionBasedeclare class SlashCommandBooleanOption extends ApplicationCommandOptionBase
readonlyoptionalLocalizationMap description_localizations? :
Inherited from: SharedNameAndDescription
readonlystring description :
Inherited from: SharedNameAndDescription
readonlyoptionalLocalizationMap name_localizations? :
Inherited from: SharedNameAndDescription
readonlystring name :
Inherited from: SharedNameAndDescription
readonlyboolean required :
Inherited from: ApplicationCommandOptionBase
readonlyApplicationCommandOptionType.Boolean type :
protected runRequiredValidationsvoid () :
Inherited from: ApplicationCommandOptionBase
setDescriptiondescription: string) : this (
description: string
Sets the description
Inherited from: SharedNameAndDescription
setDescriptionLocalizationlocale: LocaleStringlocalizedDescription: string | null) : this (
locale: LocaleString
localizedDescription: string | null
Sets a description localization
Inherited from: SharedNameAndDescription
setDescriptionLocalizationslocalizedDescriptions: LocalizationMap | null) : this (
localizedDescriptions: LocalizationMap | null
Sets the description localizations
Inherited from: SharedNameAndDescription
setNameLocalizationlocale: LocaleStringlocalizedName: string | null) : this (
locale: LocaleString
localizedName: string | null
Sets a name localization
Inherited from: SharedNameAndDescription
setNameLocalizationslocalizedNames: LocalizationMap | null) : this (
localizedNames: LocalizationMap | null
Sets the name localizations
Inherited from: SharedNameAndDescription
setRequiredrequired: boolean) : this (
required: boolean
Marks the option as required
Inherited from: ApplicationCommandOptionBase