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