Enum MessageFlags
- Namespace
- DisCatSharp.Enums
- Assembly
- DisCatSharp.dll
Represents additional features of a message.
[Flags]
public enum MessageFlags : long
- Extension Methods
Fields
None = 0This message has no flags.
Crossposted = 1Whether this message is the original message that was published from a news channel to subscriber channels.
IsCrosspost = 2Whether this message is crossposted (automatically posted in a subscriber channel).
SuppressedEmbeds = 4Whether any embeds in the message are hidden.
SourceMessageDelete = 8The source message for this crosspost has been deleted.
Urgent = 16The message came from the urgent message system.
HasThread = 32The message has an associated thread, with the same id as the message.
Ephemeral = 64The message is only visible to the user who invoked the interaction.
Loading = 128The message is an interaction response and the bot is "thinking".
FailedToMentionSomeRolesInThread = 256The message is warning that some roles failed to mention in thread.
GuildFeedHidden = 512The message is indicating that the feed is hidden.
ShouldShowLinkNotDiscordWarning = 1024The message contains a link marked as potential dangerous or absusive.
SuppressNotifications = 4096The message suppresses channel notifications. Aka. new message indicator.
IsVoiceMessage = 8192The message is a voice message.
HasSnapshots = 16384The message has a snapshot (via Message Forwarding).
IsComponentsV2 = 32768The message uses the UI Kit.
SendBySocialLayerIntegration = 65536The message was send by a social layer integration.
Unknown = 9223372036854775807The flags are unknown.