export declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<ChoiceType extends number | string>
This mixin holds choices and autocomplete symbols used for options.
readonlyoptionalboolean autocomplete? :
Whether this option utilizes autocomplete.
readonlyoptionalAPIApplicationCommandOptionChoice<ChoiceType>[] choices? :
The choices of this option.
readonlyApplicationCommandOptionType type :
The type of this option.
addChoices...choices: APIApplicationCommandOptionChoice<ChoiceType>[]) : this (
...choices: APIApplicationCommandOptionChoice<ChoiceType>[]
Adds multiple choices to this option.
setAutocompleteautocomplete: boolean) : this (
autocomplete: boolean
Whether this option uses autocomplete.
setChoicesInput extends APIApplicationCommandOptionChoice<ChoiceType>[]
>(...choices: Input) : this <
Input extends APIApplicationCommandOptionChoice<ChoiceType>[]
...choices: Input
Sets multiple choices for this option.