Skip to main content

DiscordMessageInteraction

Documentation


Documentation / @discordeno/types / DiscordMessageInteraction

Interface: DiscordMessageInteraction

Defined in: discord/interactions.ts:192

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

Properties

id

id: string

Defined in: discord/interactions.ts:194

Id of the interaction


member?

optional member?: Partial<DiscordMember>

Defined in: discord/interactions.ts:202

The member who invoked the interaction in the guild


name

name: string

Defined in: discord/interactions.ts:198

The name of the ApplicationCommand including the name of the subcommand/subcommand group


type

type: InteractionTypes

Defined in: discord/interactions.ts:196

The type of interaction


user

user: DiscordUser

Defined in: discord/interactions.ts:200

The user who invoked the interaction