Skip to main content
Module

x/discord_api_types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.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 { APIApplicationCommandInteractionDataSubcommandOption, APIApplicationCommandSubcommandOption,} from './subcommand.ts';
export interface APIApplicationCommandSubcommandGroupOption extends APIApplicationCommandOptionBase<ApplicationCommandOptionType.SubcommandGroup> { options?: APIApplicationCommandSubcommandOption[];}
export interface APIApplicationCommandInteractionDataSubcommandGroupOption { name: string; type: ApplicationCommandOptionType.SubcommandGroup; options: APIApplicationCommandInteractionDataSubcommandOption[];}