Skip to main content

DiscordApplicationCommandInteractionMetadata

@discordeno/bot


Documentation / @discordeno/bot / DiscordApplicationCommandInteractionMetadata

Interface: DiscordApplicationCommandInteractionMetadata

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

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:209

IDs for installation context(s) related to an interaction


id

id: string

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

Id of the interaction


original_response_message_id?

optional original_response_message_id: string

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

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:215

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:213

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:205

The type of interaction


user

user: DiscordUser

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

User who triggered the interaction