Preview environment

interface APIMessageInteraction

export interface APIMessageInteraction

https://discord.com/developers/docs/interactions/receiving-and-responding#message-interaction-object

ID of the interaction

The guild member who invoked the interaction, only sent in MESSAGE_CREATE events

name : string

The name of the application command, including subcommands and subcommand groups

The type of interaction

user : APIUser

The user who invoked the interaction