ChatCmdMessageBody class

The command message body.

Inheritance

Constructors

ChatCmdMessageBody.new({required String action, bool deliverOnlineOnly = false})
Creates a command message.
ChatCmdMessageBody.fromJson({required Map map})

Properties

action ↔ String
The command action content.
latefinal
deliverOnlineOnly ↔ bool
Checks whether this command message is only delivered to online users.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ MessageType
Gets the chat message type.
getter/setter pairinherited

Methods

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

Operators

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