Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/mod.ts>InteractionCallbackData

Discord API library for Deno
Extremely Popular
Go to Latest
interface InteractionCallbackData
Re-export
import { type InteractionCallbackData } from "https://deno.land/x/discordeno@17.2.0/mod.ts";

Properties

optional
content: string

The message contents (up to 2000 characters)

optional
tts: boolean

True if this is a TTS message

optional
embeds: Embed[]

Embedded rich content (up to 6000 characters)

optional
allowedMentions: AllowedMentions

Allowed mentions for the message

optional
file: FileContent | FileContent[]

The contents of the file being sent

optional
customId: string

The customId you want to use for this modal response.

optional
title: string

The title you want to use for this modal response.

optional
components: MessageComponents

The components you would like to have sent in this message

optional
flags: number

Message flags combined as a bit field (only SUPPRESS_EMBEDS and EPHEMERAL can be set)

optional
choices: ApplicationCommandOptionChoice[]

Autocomplete choices (max of 25 choices)