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.
read-onlyinherited
- lastModifyOperatorId → String?
-
Get the user ID of the operator that modified the message last time.
read-only
- lastModifyTime → int?
-
Get the UNIX timestamp of the last message modification, in milliseconds.
read-only
- modifyCount → int?
-
Get the number of times a message is modified.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
targetLanguages
↔ List<
String> ? -
The target languages to translate
read / write
-
translations
↔ Map<
String, String> ? -
It is Map, key is target language, value is translated content
read / write
- type ↔ MessageType
-
Gets the chat message type.
read / writeinherited
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