Skip to main content

DiscordInteractionCallback

@discordeno/bot


Documentation / @discordeno/bot / DiscordInteractionCallback

Interface: DiscordInteractionCallback

Defined in: packages/types/dist/types/discord/interactions.d.ts:184

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/interactions.d.ts:190

Instance ID of the Activity if one was launched or joined


id

id: string

Defined in: packages/types/dist/types/discord/interactions.d.ts:186

ID of the interaction


response_message_ephemeral?

optional response_message_ephemeral: boolean

Defined in: packages/types/dist/types/discord/interactions.d.ts:196

Whether or not the response message was ephemeral


response_message_id?

optional response_message_id: string

Defined in: packages/types/dist/types/discord/interactions.d.ts:192

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/interactions.d.ts:194

Whether or not the message is in a loading state


type

type: InteractionTypes

Defined in: packages/types/dist/types/discord/interactions.d.ts:188

Interaction type