Skip to main content

MessageFlags

Documentation


Documentation / @discordeno/types / MessageFlags

Enumeration: MessageFlags

Defined in: discord/message.ts:174

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

Enumeration Members

Crossposted

Crossposted: 1

Defined in: discord/message.ts:176

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


Ephemeral

Ephemeral: 64

Defined in: discord/message.ts:188

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


FailedToMentionSomeRolesInThread

FailedToMentionSomeRolesInThread: 256

Defined in: discord/message.ts:192

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


HasSnapshot

HasSnapshot: 16384

Defined in: discord/message.ts:198

This message has a snapshot (via Message Forwarding)


HasThread

HasThread: 32

Defined in: discord/message.ts:186

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


IsComponentsV2

IsComponentsV2: 32768

Defined in: discord/message.ts:205

Allows you to create fully component-driven messages

Remarks

Once a message has been sent with this flag, it can't be removed from that message.


IsCrosspost

IsCrosspost: 2

Defined in: discord/message.ts:178

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


IsVoiceMessage

IsVoiceMessage: 8192

Defined in: discord/message.ts:196

This message is a voice message


Loading

Loading: 128

Defined in: discord/message.ts:190

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


SourceMessageDeleted

SourceMessageDeleted: 8

Defined in: discord/message.ts:182

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


SuppressEmbeds

SuppressEmbeds: 4

Defined in: discord/message.ts:180

Do not include any embeds when serializing this message


SuppressNotifications

SuppressNotifications: 4096

Defined in: discord/message.ts:194

This message will not trigger push and desktop notifications


Urgent

Urgent: 16

Defined in: discord/message.ts:184

This message came from the urgent message system