Skip to main content

DiscordInteractionCallback

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordInteractionCallback

Interface: DiscordInteractionCallback

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

Properties

activity_instance_id?

optional activity_instance_id: string

Instance ID of the Activity if one was launched or joined

Defined in

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


id

id: string

ID of the interaction

Defined in

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


response_message_ephemeral?

optional response_message_ephemeral: boolean

Whether or not the response message was ephemeral

Defined in

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


response_message_id?

optional response_message_id: string

ID of the message that was created by the interaction

Defined in

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


response_message_loading?

optional response_message_loading: boolean

Whether or not the message is in a loading state

Defined in

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


type

type: InteractionTypes

Interaction type

Defined in

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