MessageFlags class Null safety

Extra features of the message

Constructors

MessageFlags(int raw)
Creates an instance of MessageFlags

Properties

crossPosted bool
This message has been published to subscribed channels (via Channel Following)
read-only
ephemeral bool
This message is only visible to the user who invoked the Interaction
read-only
failedToMentionSomeRolesInThread bool
This message failed to mention some roles and add their members to the thread
read-only
hashCode int
The hash code for this object.
read-onlyinherited
hasThread bool
This message has an associated thread, with the same id as the message
read-only
isCrossPost bool
This message originated from a message in another channel (via Channel Following)
read-only
loading bool
This message is an Interaction Response and the bot is "thinking"
read-only
raw int
Raw bitfield
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sourceMessageDeleted bool
The source message for this cross post has been deleted (via Channel Following)
read-only
suppressEmbeds bool
Do not include any embeds when serializing this message
read-only
suppressNotifications bool
This message will not trigger push and desktop notifications
read-only
urgent bool
This message came from the urgent message system
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited