Interface APIApplicationCommandOptionChoice<ValueType>

interface APIApplicationCommandOptionChoice<ValueType = number | string> {
    name: string;
    name_localizations?: null | Partial<Record<Locale, null | string>>;
    value: ValueType;
}

Type Parameters

  • ValueType = number | string

Properties

name: string
name_localizations?: null | Partial<Record<Locale, null | string>>
value: ValueType