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.18/payloads/v8/interactions.ts";
Properties
id: Snowflake
ID of the interaction
type: InteractionType
The type of interaction
user: APIUser
The user who invoked the interaction
optional
member: PartialAPIMessageInteractionGuildMemberThe guild member who invoked the interaction, only sent in MESSAGE_CREATE events