Skip to main content

MessageFlags

@discordeno/bot


Documentation / @discordeno/bot / MessageFlags

Enumeration: MessageFlags

Defined in: packages/types/dist/types/shared.d.ts:124

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

Enumeration Members

Crossposted

Crossposted: 1

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

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


Ephemeral

Ephemeral: 64

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

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


FailedToMentionSomeRolesInThread

FailedToMentionSomeRolesInThread: 256

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

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


HasThread

HasThread: 32

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

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


IsCrosspost

IsCrosspost: 2

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

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


IsVoiceMessage

IsVoiceMessage: 8192

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

This message is a voice message


Loading

Loading: 128

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

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


SourceMessageDeleted

SourceMessageDeleted: 8

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

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


SuppressEmbeds

SuppressEmbeds: 4

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

Do not include any embeds when serializing this message


SuppressNotifications

SuppressNotifications: 4096

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

This message will not trigger push and desktop notifications


Urgent

Urgent: 16

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

This message came from the urgent message system