MsgType enum

Message content type.

Inheritance
Available extensions

Values

text → const MsgType

Plain text content.

photo → const MsgType

Photo attachment.

video → const MsgType

Video attachment.

audio → const MsgType

Audio attachment.

file → const MsgType

Generic file attachment.

Link content.

createConversation → const MsgType

Conversation-created system message.

renameConversation → const MsgType

Conversation-renamed system message.

location → const MsgType

Geographic location.

contact → const MsgType

vCard contact.

sticker → const MsgType

Sticker content.

notification → const MsgType

Participant or group notification.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int

Available on MsgType?, provided by the MsgTypeValueExtension extension

Native integer value, defaulting to the text-message value.
no setter

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<MsgType>
A constant List of the values in this enum, in order of their declaration.