Enum DiscordMessageFlags
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents additional features of a message.
[Flags]
public enum DiscordMessageFlags
- Extension Methods
Fields
ContainsSuspiciousThirdPartyLink = 1024Indicates that the message contains a link (usually to a file) that will prompt the user with a precautionary message saying that the link may be unsafe.
This flag is inbound only (it cannot be set).
Crossposted = 1Whether this message is the original message that was published from a news channel to subscriber channels.
This flag is inbound only (it cannot be set).
Ephemeral = 64The message is only visible to the user who invoked the interaction.
FailedToMentionSomeRolesInThread = 256Indicates that some roles mentioned in the message could not be added to the current thread.
This flag is inbound only (it cannot be set).
HasSnapshot = 16384This message has a snapshot (via Message Forwarding)
HasThread = 32This message has an associated thread, with the same id as the message
IsComponentsV2 = 32768Indicates that this message is/will support Components V2. Messages that are upgraded to components V2 cannot be downgraded.
IsCrosspost = 2Whether this message is crossposted (automatically posted in a subscriber channel).
This flag is inbound only (it cannot be set).
IsVoiceMessage = 8192This message is a voice message
Loading = 128The message is an interaction response and the bot is "thinking".
This flag is inbound only (it cannot be set).
SourceMessageDeleted = 8The source message for this crosspost has been deleted.
This flag is inbound only (it cannot be set).
SuppressEmbeds = 4Whether any embeds in the message are hidden.
SuppressNotifications = 4096Indicates that this message will supress push notifications. Mentions in the message will still have a mention indicator, however.
Urgent = 16The message came from the urgent message system.
This flag is inbound only (it cannot be set).