Skip to main content

DiscordApplicationCommandInteractionMetadata

@discordeno/bot


Documentation / @discordeno/bot / DiscordApplicationCommandInteractionMetadata

Interface: DiscordApplicationCommandInteractionMetadata

Defined in: packages/types/dist/types/discord/message.d.ts:198

https://discord.com/developers/docs/resources/message#message-interaction-metadata-object-application-command-interaction-metadata-structure

Properties

authorizing_integration_owners

authorizing_integration_owners: Partial<Record<DiscordApplicationIntegrationType, string>>

Defined in: packages/types/dist/types/discord/message.d.ts:206

IDs for installation context(s) related to an interaction


id

id: string

Defined in: packages/types/dist/types/discord/message.d.ts:200

Id of the interaction


original_response_message_id?

optional original_response_message_id: string

Defined in: packages/types/dist/types/discord/message.d.ts:208

ID of the original response message, present only on follow-up messages


target_message_id?

optional target_message_id: string

Defined in: packages/types/dist/types/discord/message.d.ts:212

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.


target_user?

optional target_user: DiscordUser

Defined in: packages/types/dist/types/discord/message.d.ts:210

The user the command was run on, present only on user command interactions


type

type: InteractionTypes

Defined in: packages/types/dist/types/discord/message.d.ts:202

The type of interaction


user

user: DiscordUser

Defined in: packages/types/dist/types/discord/message.d.ts:204

User who triggered the interaction