DiscordMessageFlag enum

Inheritance

Constructors

DiscordMessageFlag()
const

Values

crossposted → const DiscordMessageFlag

1 << 0

this message has been published to subscribed channels (via Channel Following)

isCrosspost → const DiscordMessageFlag

1 << 1

this message originated from a message in another channel (via Channel Following)

suppressEmbeds → const DiscordMessageFlag

1 << 2

do not include any embeds when serializing this message

sourceMessageDeleted → const DiscordMessageFlag

1 << 3

the source message for this crosspost has been deleted (via Channel Following)

urgent → const DiscordMessageFlag

1 << 4

this message came from the urgent message system

hasThread → const DiscordMessageFlag

1 << 5

this message has an associated thread, with the same id as the message

ephemeral → const DiscordMessageFlag

1 << 6

this message is only visible to the user who invoked the Interaction
loading → const DiscordMessageFlag

1 << 7

this message is an Interaction Response and the bot is "thinking"

failedToMentionSomeRolesInThread → const DiscordMessageFlag

1 << 8

this message failed to mention some roles and add their members to the thread

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<DiscordMessageFlag>
A constant List of the values in this enum, in order of their declaration.