Type alias APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<Base, ChoiceType>

APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<Base, ChoiceType>: Base & {
    autocomplete: true;
    choices?: [];
} | Base & {
    autocomplete?: false;
    choices?: ChoiceType[];
}

Type Parameters

Generated using TypeDoc