Skip to main content

DiscordApplicationCommandInteractionMetadata

Documentation


Documentation / @discordeno/types / DiscordApplicationCommandInteractionMetadata

Interface: DiscordApplicationCommandInteractionMetadata

Defined in: discord/message.ts:215

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

Properties

authorizing_integration_owners

authorizing_integration_owners: DiscordAuthorizingIntegrationOwners

Defined in: discord/message.ts:223

IDs for installation context(s) related to an interaction


id

id: string

Defined in: discord/message.ts:217

Id of the interaction


original_response_message_id?

optional original_response_message_id?: string

Defined in: discord/message.ts:225

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


target_message_id?

optional target_message_id?: string

Defined in: discord/message.ts:229

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: discord/message.ts:227

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


type

type: InteractionTypes

Defined in: discord/message.ts:219

The type of interaction


user

user: DiscordUser

Defined in: discord/message.ts:221

User who triggered the interaction