import { type InteractionPayload } from "https://deno.land/x/harmony@v2.8.0/src/types/interactions.ts";
Properties
type: InteractionType
Type of the Interaction
optional
member: InteractionMemberPayloadMember object of user who invoked
optional
user: UserPayloadUser who initiated Interaction (only in DMs)
optional
data: InteractionApplicationCommandData | InteractionMessageComponentDataData sent with the interaction. Undefined only when Interaction is PING (http-only).*
optional
message: MessagePayloadMessage ID if the Interaction was of type MESSAGE_COMPONENT