MessageType enum

The type of a message.

External references:

Inheritance

Constructors

MessageType.parse(int value)
Parse a MessageType from an int.
factory

Values

normal → const MessageType
const MessageType._(0)
recipientAdd → const MessageType
const MessageType._(1)
recipientRemove → const MessageType
const MessageType._(2)
call → const MessageType
const MessageType._(3)
channelNameChange → const MessageType
const MessageType._(4)
channelIconChange → const MessageType
const MessageType._(5)
channelPinnedMessage → const MessageType
const MessageType._(6)
userJoin → const MessageType
const MessageType._(7)
guildBoost → const MessageType
const MessageType._(8)
guildBoostTier1 → const MessageType
const MessageType._(9)
guildBoostTier2 → const MessageType
const MessageType._(10)
guildBoostTier3 → const MessageType
const MessageType._(11)
channelFollowAdd → const MessageType
const MessageType._(12)
guildDiscoveryDisqualified → const MessageType
const MessageType._(14)
guildDiscoveryRequalified → const MessageType
const MessageType._(15)
guildDiscoveryGracePeriodInitialWarning → const MessageType
const MessageType._(16)
guildDiscoveryGracePeriodFinalWarning → const MessageType
const MessageType._(17)
threadCreated → const MessageType
const MessageType._(18)
reply → const MessageType
const MessageType._(19)
chatInputCommand → const MessageType
const MessageType._(20)
threadStarterMessage → const MessageType
const MessageType._(21)
guildInviteReminder → const MessageType
const MessageType._(22)
contextMenuCommand → const MessageType
const MessageType._(23)
autoModerationAction → const MessageType
const MessageType._(24)
roleSubscriptionPurchase → const MessageType
const MessageType._(25)
interactionPremiumUpsell → const MessageType
const MessageType._(26)
stageStart → const MessageType
const MessageType._(27)
stageEnd → const MessageType
const MessageType._(28)
stageSpeaker → const MessageType
const MessageType._(29)
stageTopic → const MessageType
const MessageType._(31)
guildApplicationPremiumSubscription → const MessageType
const MessageType._(32)
guildIncidentAlertModeEnabled → const MessageType
const MessageType._(36)
guildIncidentAlertModeDisabled → const MessageType
const MessageType._(37)
guildIncidentReportRaid → const MessageType
const MessageType._(38)
guildIncidentReportFalseAlarm → const MessageType
const MessageType._(39)

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
value int
The value of this MessageType.
final

Methods

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

Operators

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

Constants

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