Skip to main content
Module

x/discordeno/mod.ts>EditMessage

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

Properties

optional
content: string | null

The new message contents (up to 2000 characters)

optional
embeds: Embed[] | null

Embedded rich content (up to 6000 characters)

optional
flags: 4 | null

Edit the flags of the message (only SUPPRESS_EMBEDS can currently be set/unset)

optional
file: FileContent | FileContent[] | null

The contents of the file being sent/edited

optional
allowedMentions: AllowedMentions

Allowed mentions for the message

optional
attachments: Attachment[]

When specified (adding new attachments), attachments which are not provided in this list will be removed.

optional
components: MessageComponents

The components you would like to have sent in this message