Skip to main content

Enum MessageFlags

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
[Flags]
public enum MessageFlags

Fields​

None​

Default value for flags, when none are given to a message.

View Source​
Declaration
None = 0

Crossposted​

Flag given to messages that have been published to subscribed channels (via Channel Following).

View Source​
Declaration
Crossposted = 1

IsCrosspost​

Flag given to messages that originated from a message in another channel (via Channel Following).

View Source​
Declaration
IsCrosspost = 2

SuppressEmbeds​

Flag given to messages that do not display any embeds.

View Source​
Declaration
SuppressEmbeds = 4

SourceMessageDeleted​

Flag given to messages that the source message for this crosspost has been deleted (via Channel Following).

View Source​
Declaration
SourceMessageDeleted = 8

Urgent​

Flag given to messages that came from the urgent message system.

View Source​
Declaration
Urgent = 16

HasThread​

Flag given to messages has an associated thread, with the same id as the message

View Source​
Declaration
HasThread = 32

Ephemeral​

Flag given to messages that is only visible to the user who invoked the Interaction.

View Source​
Declaration
Ephemeral = 64

Loading​

Flag given to messages that is an Interaction Response and the bot is "thinking"

View Source​
Declaration
Loading = 128