class SlashCommandChannelOption
extends
ApplicationCommandOptionBaseexport declare class SlashCommandChannelOption 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.Channel type :
readonlyoptionalApplicationCommandOptionAllowedChannelTypes[] channel_types? :
Inherited from: ApplicationCommandOptionChannelTypesMixin
protected runRequiredValidationsvoid () :
Inherited from: ApplicationCommandOptionBase
setDescriptiondescription: string) : this (
Sets the description
Inherited from: SharedNameAndDescription
setDescriptionLocalizationlocale: LocaleStringlocalizedDescription: string | null) : this (
Sets a description localization
Inherited from: SharedNameAndDescription
setDescriptionLocalizationslocalizedDescriptions: LocalizationMap | null) : this (
Sets the description localizations
Inherited from: SharedNameAndDescription
setNameLocalizationlocale: LocaleStringlocalizedName: string | null) : this (
Sets a name localization
Inherited from: SharedNameAndDescription
setNameLocalizationslocalizedNames: LocalizationMap | null) : this (
Sets the name localizations
Inherited from: SharedNameAndDescription
setRequiredrequired: boolean) : this (
Marks the option as required
Inherited from: ApplicationCommandOptionBase
toJSONAPIApplicationCommandChannelOption () :
addChannelTypeschannelTypes: ApplicationCommandOptionAllowedChannelTypes[]) : this (
Adds channel types to this option
Inherited from: ApplicationCommandOptionChannelTypesMixin