Skip to main content

EditMessage

@discordeno/botDocs


Documentation / @discordeno/bot / EditMessage

Interface: EditMessage

https://discord.com/developers/docs/resources/channel#edit-message-json-params

Properties

allowedMentions?

optional allowedMentions: AllowedMentions

Allowed mentions for the message

Defined in

packages/types/dist/types/discordeno.d.ts:1072


attachments?

optional attachments: Pick<object, "id"> & Omit<Partial<object>, "id">[]

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

Defined in

packages/types/dist/types/discordeno.d.ts:1074


components?

optional components: MessageComponents

The components you would like to have sent in this message

Defined in

packages/types/dist/types/discordeno.d.ts:1076


content?

optional content: null | string

The new message contents (up to 2000 characters)

Defined in

packages/types/dist/types/discordeno.d.ts:1064


embeds?

optional embeds: null | object[]

Embedded rich content (up to 6000 characters)

Defined in

packages/types/dist/types/discordeno.d.ts:1066


files?

optional files: FileContent[]

The contents of the files being sent/edited

Defined in

packages/types/dist/types/discordeno.d.ts:1070


flags?

optional flags: null | MessageFlags

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

Defined in

packages/types/dist/types/discordeno.d.ts:1068