interface APIApplicationCommandInteractionMetadata {
    authorizing_integration_owners: APIAuthorizingIntegrationOwnersMap;
    id: string;
    original_response_message_id?: string;
    target_message_id?: string;
    target_user?: APIUser;
    type: ApplicationCommand;
    user: APIUser;
}

Hierarchy (View Summary)

Properties

authorizing_integration_owners: APIAuthorizingIntegrationOwnersMap

IDs for installation context(s) related to an interaction

id: string

ID of the interaction

original_response_message_id?: string

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

target_message_id?: string

The ID of the message the command was run on, present only on message command interactions. The original response message will also have message_reference and referenced_message pointing to this message.

target_user?: APIUser

The user the command was run on, present only on user commands interactions

Type of interaction

user: APIUser

User who triggered the interaction