EMTextMessageBody class

文本消息类。

Inheritance

Constructors

EMTextMessageBody({required String content, List<String>? targetLanguages})
创建一条文本消息。
EMTextMessageBody.fromJson({required Map map})

Properties

content String
文本消息内容。
latefinal
hashCode int
The hash code for this object.
no setterinherited
lastModifyOperatorId String?
获取最后一次消息修改的操作者的用户 ID。
no setter
lastModifyTime int?
获取最后一次消息修改的时间戳,单位为毫秒。
no setter
modifyCount int?
获取消息修改次数。
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetLanguages List<String>?
翻译的目标语言。
getter/setter pair
translations Map<String, String>?
译文。
getter/setter pair
type MessageType
获取消息类型。
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