Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discord_api_types/payloads/v8/interactions.ts>APIMessageInteraction

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIMessageInteraction
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type APIMessageInteraction } from "https://deno.land/x/discord_api_types@0.37.40/payloads/v8/interactions.ts";

Properties

ID of the interaction

type: InteractionType

The type of interaction

name: string

The name of the ApplicationCommand

user: APIUser

The user who invoked the interaction

optional
member: PartialAPIMessageInteractionGuildMember

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