Skip to main content

DiscordInteractionCallback

Documentation


Documentation / @discordeno/types / DiscordInteractionCallback

Interface: DiscordInteractionCallback

Defined in: discord/interactions.ts:245

https://docs.discord.com/developers/interactions/receiving-and-responding#interaction-callback-interaction-callback-object

Properties

activity_instance_id?

optional activity_instance_id?: string

Defined in: discord/interactions.ts:251

Instance ID of the Activity if one was launched or joined


id

id: string

Defined in: discord/interactions.ts:247

ID of the interaction


response_message_ephemeral?

optional response_message_ephemeral?: boolean

Defined in: discord/interactions.ts:257

Whether the response message is ephemeral


response_message_id?

optional response_message_id?: string

Defined in: discord/interactions.ts:253

ID of the message that was created by the interaction


response_message_loading?

optional response_message_loading?: boolean

Defined in: discord/interactions.ts:255

Whether the message is in a loading state


type

type: InteractionTypes

Defined in: discord/interactions.ts:249

Interaction type