EMTextMessageBody class

~english The text message class. ~end

~chinese 文本消息类。 ~end

Constructors

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

Properties

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

Operators

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