Bitwise set of permissions the app or bot has within the channel the interaction was sent from
ID of the application this interaction is for
Mapping of installation contexts that the interaction was authorized for to related user or guild IDs.
Optional
channelThe channel it was sent from
Optional
channel_The id of the channel it was sent from
Use {@apilink APIBaseInteraction#channel} instead
Optional
contextContext where the interaction was triggered from
Optional
dataThe command data payload
For monetized apps, any entitlements for the invoking user, representing access to premium SKUs
Optional
guild_The guild it was sent from
Optional
guild_The guild's preferred locale, if invoked in a guild
ID of the interaction
The selected language of the invoking user
Optional
memberGuild member data for the invoking user, including permissions
This is only sent when an interaction is invoked in a guild
Optional
messageFor components, the message they were attached to
A continuation token for responding to the interaction
The type of interaction
Optional
userUser object for the invoking user, if invoked in a DM
Read-only property, always 1
Generated using TypeDoc
https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object