Skip to main content
Module

x/discord_api_types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts

Up to date Discord API Typings, versioned by the API version
Go to Latest
File
/** * https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export enum ApplicationCommandOptionType { Subcommand = 1, SubcommandGroup, String, Integer, Boolean, User, Channel, Role, Mentionable, Number, Attachment,}
/** * https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-choice-structure * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. */export interface APIApplicationCommandOptionChoice<ValueType = string | number> { name: string; value: ValueType;}