MessageInteractionMetadata
Documentation / @discordeno/bot / MessageInteractionMetadata
Interface: MessageInteractionMetadata
Defined in: transformers/types.ts:1351
Properties
authorizingIntegrationOwners
authorizingIntegrationOwners:
Partial<Record<DiscordApplicationIntegrationType,bigint>>
Defined in: transformers/types.ts:1359
IDs for installation context(s) related to an interaction
id
id:
bigint
Defined in: transformers/types.ts:1353
Id of the interaction
interactedMessageId?
optionalinteractedMessageId:bigint
Defined in: transformers/types.ts:1382
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: transformers/types.ts:1361
ID of the original response message, present only on follow-up messages
targetMessageId?
optionaltargetMessageId:bigint
Defined in: transformers/types.ts:1375
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: transformers/types.ts:1368
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: transformers/types.ts:1389
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: transformers/types.ts:1355
The type of interaction
user
user:
User
Defined in: transformers/types.ts:1357
User who triggered the interaction