Interface MessageInteractionMetadata

interface MessageInteractionMetadata {
    authorizingIntegrationOwners: AuthorizingIntegrationOwners;
    id: string;
    interactedMessageID?: string;
    name?: string;
    originalResponseMessageID?: string;
    triggeringInteractionMetadata?: Omit<MessageInteractionMetadata, "name" | "triggeringInteractionMetadata">;
    type: InteractionTypes;
    user: User;
}

Properties

authorizingIntegrationOwners: AuthorizingIntegrationOwners

Details about the authorizing user or server for the installation(s) relevant to the interaction. See Discord's docs for more information.

id: string
interactedMessageID?: string

The ID of the message that contained interactive component, present only on messages created from component interactions

name?: string

Name of the command, including subcommands and subcommand groups, present only on application command interactions.

originalResponseMessageID?: string

The ID of the original response message, present only on follow-up messages.

triggeringInteractionMetadata?: Omit<MessageInteractionMetadata, "name" | "triggeringInteractionMetadata">

Metadata for the interaction that was used to open the modal, present only on modal submit interactions.

user: User