MessageInteractionMetadata
Documentation / @discordeno/bot / MessageInteractionMetadata
Interface: MessageInteractionMetadata
Defined in: bot/src/transformers/types.ts:1291
Properties
authorizingIntegrationOwners
authorizingIntegrationOwners:
Partial<Record<DiscordApplicationIntegrationType,bigint>>
Defined in: bot/src/transformers/types.ts:1299
IDs for installation context(s) related to an interaction
id
id:
bigint
Defined in: bot/src/transformers/types.ts:1293
Id of the interaction
interactedMessageId?
optionalinteractedMessageId:bigint
Defined in: bot/src/transformers/types.ts:1322
ID of the message that contained interactive component, present only on messages created from component interactions
Remarks
Only present when the interaction metadata is about a message component
originalResponseMessageId?
optionaloriginalResponseMessageId:bigint
Defined in: bot/src/transformers/types.ts:1301
ID of the original response message, present only on follow-up messages
targetMessageId?
optionaltargetMessageId:bigint
Defined in: bot/src/transformers/types.ts:1315
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.
Remarks
Only present when the interaction metadata is about an application command
targetUser?
optionaltargetUser:User
Defined in: bot/src/transformers/types.ts:1308
The user the command was run on, present only on user command interactions
Remarks
Only present when the interaction metadata is about an application command
triggeringInteractionMetadata?
optionaltriggeringInteractionMetadata:MessageInteractionMetadata
Defined in: bot/src/transformers/types.ts:1329
Metadata for the interaction that was used to open the modal, present only on modal submit interactions
Remarks
Only present when the interaction metadata is about a modal submit
type
type:
InteractionTypes
Defined in: bot/src/transformers/types.ts:1295
The type of interaction
user
user:
User
Defined in: bot/src/transformers/types.ts:1297
User who triggered the interaction