import { type APIBaseInteraction } from "https://deno.land/x/discord_api_types@0.37.81/v10.ts";
Type Parameters
Properties
ID of the interaction
ID of the application this interaction is for
The type of interaction
The command data payload
The guild it was sent from
The channel it was sent from
The id of the channel it was sent from
Guild member data for the invoking user, including permissions
This is only sent when an interaction is invoked in a guild
User object for the invoking user, if invoked in a DM
For components, the message they were attached to
Bitwise set of permissions the app or bot has within the channel the interaction was sent from
The selected language of the invoking user
The guild's preferred locale, if invoked in a guild
For monetized apps, any entitlements for the invoking user, representing access to premium SKUs