Skip to main content

DiscordInteractionCallback

@discordeno/bot


Documentation / @discordeno/bot / DiscordInteractionCallback

Interface: DiscordInteractionCallback

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

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

Properties

activity_instance_id?

optional activity_instance_id: string

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

Instance ID of the Activity if one was launched or joined


id

id: string

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

ID of the interaction


response_message_ephemeral?

optional response_message_ephemeral: boolean

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

Whether or not the response message was ephemeral


response_message_id?

optional response_message_id: string

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

ID of the message that was created by the interaction


response_message_loading?

optional response_message_loading: boolean

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

Whether or not the message is in a loading state


type

type: InteractionTypes

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

Interaction type