Extremely Popular
Go to Latest
interface EditMessage
import { type EditMessage } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.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