Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
type alias APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper
Re-export
import { type APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper } from "https://deno.land/x/discord_api_types@0.37.26/payloads/v9/mod.ts";

Type Parameters

Base extends APIApplicationCommandOptionBase<ApplicationCommandOptionType>
ChoiceType extends APIApplicationCommandOptionChoice
definition: (Base & { autocomplete: true; }) | (Base & { autocomplete?: false; choices?: ChoiceType[]; })