Skip to main content

DiscordApplicationCommandInteractionMetadata

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordApplicationCommandInteractionMetadata

Interface: DiscordApplicationCommandInteractionMetadata

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<"0" | "1", string>>

IDs for installation context(s) related to an interaction

Defined in

packages/types/dist/types/discord.d.ts:1565


id

id: string

Id of the interaction

Defined in

packages/types/dist/types/discord.d.ts:1559


original_response_message_id?

optional original_response_message_id: string

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

Defined in

packages/types/dist/types/discord.d.ts:1567


target_message_id?

optional target_message_id: string

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.

Defined in

packages/types/dist/types/discord.d.ts:1571


target_user?

optional target_user: DiscordUser

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

Defined in

packages/types/dist/types/discord.d.ts:1569


type

type: InteractionTypes

The type of interaction

Defined in

packages/types/dist/types/discord.d.ts:1561


user

user: DiscordUser

User who triggered the interaction

Defined in

packages/types/dist/types/discord.d.ts:1563