interface APIMessageInteraction

external
export interface APIMessageInteraction

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

external
id : Snowflake

ID of the interaction

optionalexternal
member? : PartialAPIMessageInteractionGuildMember

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

external
name : string

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

external
type : InteractionType

The type of interaction

external
user : APIUser

The user who invoked the interaction