ChatTextMessageBody class

The text message class.

Inheritance

Constructors

ChatTextMessageBody.new({required String content, List<String>? targetLanguages})
Creates a text message.
ChatTextMessageBody.fromJson({required Map map})

Properties

content String
The text content.
latefinal
hashCode int
The hash code for this object.
no setterinherited
lastModifyOperatorId String?
Gets the user ID of the operator that modified the message last time.
no setter
lastModifyTime int?
Gets the UNIX timestamp of the last message modification, in milliseconds.
no setter
modifyCount int?
Gets the number of times a message is modified.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetLanguages List<String>?
The target languages for translation.
getter/setter pair
translations Map<String, String>?
It is Map, where the key is target language and the value is translated content.
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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