Skip to main content
Module

x/discord_api_types/payloads/v9/interactions.ts

Up to date Discord API Typings, versioned by the API version
Go to Latest
File
import type { APIMessageComponentDMInteraction, APIMessageComponentGuildInteraction, APIMessageComponentInteraction,} from './_interactions/messageComponents.ts';import type { APIPingInteraction } from './_interactions/ping.ts';import type { APIApplicationCommandDMInteraction, APIApplicationCommandGuildInteraction, APIApplicationCommandInteraction,} from './_interactions/applicationCommands.ts';import type { APIApplicationCommandAutocompleteInteraction } from './_interactions/autocomplete.ts';
export * from './_interactions/base.ts';export * from './_interactions/messageComponents.ts';export * from './_interactions/ping.ts';export * from './_interactions/responses.ts';export * from './_interactions/applicationCommands.ts';
/** * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object */export type APIInteraction = | APIPingInteraction | APIApplicationCommandInteraction | APIMessageComponentInteraction | APIApplicationCommandAutocompleteInteraction;
/** * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object */export type APIDMInteraction = APIApplicationCommandDMInteraction | APIMessageComponentDMInteraction;
/** * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object */export type APIGuildInteraction = APIApplicationCommandGuildInteraction | APIMessageComponentGuildInteraction;