ChatTextMessageBody class

The text message class.

Constructors

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

Properties

content String
The text content.
latefinal
hashCode int
The hash code for this object.
no setterinherited
lastModifyOperatorId String?
Get the user ID of the operator that modified the message last time.
no setter
lastModifyTime int?
Get the UNIX timestamp of the last message modification, in milliseconds.
no setter
modifyCount int?
Get 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 to translate
getter/setter pair
translations Map<String, String>?
It is Map, key is target language, 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