RCIMIWTextMessage class

Inheritance

Constructors

RCIMIWTextMessage.fromJson(Map<String, dynamic> json)

Properties

channelId String?
所属会话的业务标识,长度限制 20 字符
getter/setter pairinherited
conversationType RCIMIWConversationType?
会话类型
getter/setter pairinherited
direction RCIMIWMessageDirection?
消息的方向
getter/setter pairinherited
expansion Map?
消息扩展信息列表,该属性在消息发送时确定,发送之后不能再做修改 扩展信息只支持单聊和群组,其它会话类型不能设置扩展信息 默认消息扩展字典 key 长度不超过 32 ,value 长度不超过 4096 ,单次设置扩展数量最大为 20,消息的扩展总数不能超过 300
getter/setter pairinherited
extra String?
消息的附加字段
getter/setter pairinherited
groupReadReceiptInfo RCIMIWGroupReadReceiptInfo?
群阅读回执状态
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
mentionedInfo RCIMIWMentionedInfo?
消息的 @ 信息
getter/setter pairinherited
messageId int?
本地数据库中存储的消息的唯一 ID 值。发送新消息时无需指定该 ID,否则会导致消息入库失败。在失败重发消息时,可以填入已入库的消息的 ID,请确保使用上一次发送失败的消息实例。
getter/setter pairinherited
messageType RCIMIWMessageType?
消息的类型
getter/setter pairinherited
messageUId String?
服务器消息唯一 ID(在同一个 Appkey 下全局唯一)
getter/setter pairinherited
offLine bool?
是否是离线消息,只在接收消息的回调方法中有效,如果消息为离线消息,则为 YES ,其他情况均为 NO
getter/setter pairinherited
pushOptions RCIMIWMessagePushOptions?
消息推送配置
getter/setter pairinherited
receivedStatus RCIMIWReceivedStatus?
消息的接收状态
getter/setter pairinherited
receivedTime int?
消息的接收时间(Unix 时间戳、毫秒)
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderUserId String?
消息的发送者 ID
getter/setter pairinherited
sentStatus RCIMIWSentStatus?
消息的发送状态
getter/setter pairinherited
sentTime int?
消息的发送时间(Unix 时间戳、毫秒)
getter/setter pairinherited
targetId String?
会话 ID
getter/setter pairinherited
text String?
文本内容
getter/setter pair
userInfo RCIMIWUserInfo?
消息携带的用户信息
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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