ChatCmdMessageBody class
~english The command message body. ~end
~chinese 命令消息体类。 ~end
- Inheritance
-
- Object
- ChatMessageBody
- ChatCmdMessageBody
Constructors
- ChatCmdMessageBody({required String action, bool deliverOnlineOnly = false})
- ~english Creates a command message. ~end
- ChatCmdMessageBody.fromJson({required Map map})
Properties
- action ↔ String
-
~english
The command action content.
~end
latefinal
- deliverOnlineOnly ↔ bool
-
~english
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
-
~english
Gets the chat message type.
~end
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