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