Skip to main content
Module

x/discord_api_types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.ts

Up to date Discord API Typings, versioned by the API version
Go to Latest
File
import type { APIApplicationCommandOptionBase } from './base.ts';import type { ApplicationCommandOptionType } from './shared.ts';import type { APIApplicationCommandBasicOption, APIApplicationCommandInteractionDataBasicOption } from '../chatInput.ts';
export interface APIApplicationCommandSubcommandOption extends APIApplicationCommandOptionBase<ApplicationCommandOptionType.Subcommand> { options?: APIApplicationCommandBasicOption[];}
export interface APIApplicationCommandInteractionDataSubcommandOption { name: string; type: ApplicationCommandOptionType.Subcommand; options?: APIApplicationCommandInteractionDataBasicOption[];}