MessageInteractionMetadata
Documentation / @discordeno/bot / MessageInteractionMetadata
Interface: MessageInteractionMetadata
Defined in: packages/bot/src/transformers/types.ts:1211
Properties
authorizingIntegrationOwners
authorizingIntegrationOwners:
Partial
<Record
<DiscordApplicationIntegrationType
,bigint
>>
Defined in: packages/bot/src/transformers/types.ts:1219
IDs for installation context(s) related to an interaction
id
id:
bigint
Defined in: packages/bot/src/transformers/types.ts:1213
Id of the interaction
interactedMessageId?
optional
interactedMessageId:bigint
Defined in: packages/bot/src/transformers/types.ts:1242
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?
optional
originalResponseMessageId:bigint
Defined in: packages/bot/src/transformers/types.ts:1221
ID of the original response message, present only on follow-up messages
targetMessageId?
optional
targetMessageId:bigint
Defined in: packages/bot/src/transformers/types.ts:1235
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?
optional
targetUser:User
Defined in: packages/bot/src/transformers/types.ts:1228
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?
optional
triggeringInteractionMetadata:MessageInteractionMetadata
Defined in: packages/bot/src/transformers/types.ts:1249
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: packages/bot/src/transformers/types.ts:1215
The type of interaction
user
user:
User
Defined in: packages/bot/src/transformers/types.ts:1217
User who triggered the interaction