InteractionCallbackData
@discordeno/bot • Docs
Documentation / @discordeno/bot / InteractionCallbackData
Interface: InteractionCallbackData
Properties
allowedMentions?
optional
allowedMentions:AllowedMentions
Allowed mentions for the message
Defined in
packages/types/dist/types/discordeno.d.ts:428
choices?
optional
choices:object
[]
Autocomplete choices (max of 25 choices)
Defined in
packages/types/dist/types/discordeno.d.ts:440
components?
optional
components:MessageComponents
The components you would like to have sent in this message
Defined in
packages/types/dist/types/discordeno.d.ts:436
content?
optional
content:string
The message contents (up to 2000 characters)
Defined in
packages/types/dist/types/discordeno.d.ts:422
customId?
optional
customId:string
The customId you want to use for this modal response.
Defined in
packages/types/dist/types/discordeno.d.ts:432
embeds?
optional
embeds:object
[]
Embedded rich
content (up to 6000 characters)
Defined in
packages/types/dist/types/discordeno.d.ts:426
files?
optional
files:FileContent
[]
The contents of the files being sent
Defined in
packages/types/dist/types/discordeno.d.ts:430
flags?
optional
flags:number
Message flags combined as a bit field (only SUPPRESS_EMBEDS
, EPHEMERAL
and SUPPRESS_NOTIFICATIONS
can be set)
Defined in
packages/types/dist/types/discordeno.d.ts:438
poll?
optional
poll:CreatePoll
Details about the poll
Defined in
packages/types/dist/types/discordeno.d.ts:442
title?
optional
title:string
The title you want to use for this modal response.
Defined in
packages/types/dist/types/discordeno.d.ts:434
tts?
optional
tts:boolean
True if this is a TTS message
Defined in
packages/types/dist/types/discordeno.d.ts:424