class ApplicationCommandOptionWithChoicesMixin

external
declare class ApplicationCommandOptionWithChoicesMixin<ChoiceType extends number | string>

This mixin holds choices and autocomplete symbols used for options.

Type Parameters

ChoiceType extends number | string

protectedreadonlyexternal
data : ApplicationCommandOptionWithChoicesData

external
addChoices() : this

Adds multiple choices to this option.

external
setChoices() : this

Sets multiple choices for this option.