Skip to main content

MessageFlags

@discordeno/botDocs


Documentation / @discordeno/bot / MessageFlags

Enumeration: MessageFlags

https://discord.com/developers/docs/resources/channel#message-object-message-flags

Enumeration Members

Crossposted

Crossposted: 1

This message has been published to subscribed channels (via Channel Following)

Defined in

packages/types/dist/types/shared.d.ts:126


Ephemeral

Ephemeral: 64

This message is only visible to the user who invoked the Interaction

Defined in

packages/types/dist/types/shared.d.ts:138


FailedToMentionSomeRolesInThread

FailedToMentionSomeRolesInThread: 256

This message failed to mention some roles and add their members to the thread

Defined in

packages/types/dist/types/shared.d.ts:142


HasThread

HasThread: 32

This message has an associated thread, with the same id as the message

Defined in

packages/types/dist/types/shared.d.ts:136


IsCrosspost

IsCrosspost: 2

This message originated from a message in another channel (via Channel Following)

Defined in

packages/types/dist/types/shared.d.ts:128


IsVoiceMessage

IsVoiceMessage: 8192

This message is a voice message

Defined in

packages/types/dist/types/shared.d.ts:146


Loading

Loading: 128

This message is an Interaction Response and the bot is "thinking"

Defined in

packages/types/dist/types/shared.d.ts:140


SourceMessageDeleted

SourceMessageDeleted: 8

The source message for this crosspost has been deleted (via Channel Following)

Defined in

packages/types/dist/types/shared.d.ts:132


SuppressEmbeds

SuppressEmbeds: 4

Do not include any embeds when serializing this message

Defined in

packages/types/dist/types/shared.d.ts:130


SuppressNotifications

SuppressNotifications: 4096

This message will not trigger push and desktop notifications

Defined in

packages/types/dist/types/shared.d.ts:144


Urgent

Urgent: 16

This message came from the urgent message system

Defined in

packages/types/dist/types/shared.d.ts:134