Table of Contents

Enum MessageFlags

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

Represents additional features of a message.

[Flags]
public enum MessageFlags
Extension Methods

Fields

None = 0

This message has no flags.

Crossposted = 1

Whether this message is the original message that was published from a news channel to subscriber channels.

IsCrosspost = 2

Whether this message is crossposted (automatically posted in a subscriber channel).

SuppressedEmbeds = 4

Whether any embeds in the message are hidden.

SourceMessageDelete = 8

The source message for this crosspost has been deleted.

Urgent = 16

The message came from the urgent message system.

HasThread = 32

The message has an associated thread, with the same id as the message.

Ephemeral = 64

The message is only visible to the user who invoked the interaction.

Loading = 128

The message is an interaction response and the bot is "thinking".

FailedToMentionSomeRolesInThread = 256

The message is warning that some roles failed to mention in thread.

ShouldShowLinkNotDiscordWarning = 1024

The message contains a link marked as potential dangerous or absusive.

SuppressNotifications = 4096

The message suppresses channel notifications. Aka. new message indicator.

IsVoiceMessage = 8192

The message is a voice message.