Skip to main content

DiscordApplicationCommandInteractionMetadata

@discordeno/bot


Documentation / @discordeno/bot / DiscordApplicationCommandInteractionMetadata

Interface: DiscordApplicationCommandInteractionMetadata

Defined in: packages/types/dist/types/discord.d.ts:1560

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

Defined in: packages/types/dist/types/discord.d.ts:1568

IDs for installation context(s) related to an interaction


id

id: string

Defined in: packages/types/dist/types/discord.d.ts:1562

Id of the interaction


original_response_message_id?

optional original_response_message_id: string

Defined in: packages/types/dist/types/discord.d.ts:1570

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.d.ts:1574

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.d.ts:1572

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


type

type: InteractionTypes

Defined in: packages/types/dist/types/discord.d.ts:1564

The type of interaction


user

user: DiscordUser

Defined in: packages/types/dist/types/discord.d.ts:1566

User who triggered the interaction