Skip to main content
Module

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

Up to date Discord API Typings, versioned by the API version
Go to Latest
File
import type { APIApplicationCommandOptionBase, APIInteractionDataOptionBase } from './base.ts';import type { ApplicationCommandOptionType } from './shared.ts';import type { Snowflake } from '../../../../../globals.ts';import type { ChannelType } from '../../../channel.ts';
export interface APIApplicationCommandChannelOption extends APIApplicationCommandOptionBase<ApplicationCommandOptionType.Channel> { channel_types?: Exclude<ChannelType, ChannelType.DM | ChannelType.GroupDM>[];}
export type APIApplicationCommandInteractionDataChannelOption = APIInteractionDataOptionBase< ApplicationCommandOptionType.Channel, Snowflake>;