interface APIModalSubmitInteractionMetadata {
    authorizing_integration_owners: APIAuthorizingIntegrationOwnersMap;
    id: string;
    original_response_message_id?: string;
    triggering_interaction_metadata:
        | APIApplicationCommandInteractionMetadata
        | APIMessageComponentInteractionMetadata;
    type: ModalSubmit;
    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

triggering_interaction_metadata:
    | APIApplicationCommandInteractionMetadata
    | APIMessageComponentInteractionMetadata

Metadata for the interaction that was used to open the modal

Type of interaction

user: APIUser

User who triggered the interaction