ConversationInfo class

Constructors

ConversationInfo({required String conversationID, int? conversationType, String? userID, String? groupID, String? showName, String? faceURL, int? recvMsgOpt, int? unreadCount, Message? latestMsg, int? latestMsgSendTime, String? draftText, int? draftTextTime, bool? isPrivateChat, int? burnDuration, bool? isPinned, bool? isNotInGroup, String? ex, String? ext})
ConversationInfo.fromJson(Map<String, dynamic> json)

Properties

burnDuration int?
可阅读期限 s
getter/setter pair
conversationID String
会话ID
getter/setter pair
conversationType int?
会话类型ConversationType
getter/setter pair
draftText String?
草稿
getter/setter pair
draftTextTime int?
草稿生成时间
getter/setter pair
ex String?
附加内容
getter/setter pair
ext String?
附加内容
getter/setter pair
faceURL String?
头像
getter/setter pair
groupAtType int?
强制提示,GroupAtType包含@所有人,@个人以及公告提示
getter/setter pair
groupID String?
参与会话的groupID
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isGroupChat bool
是群聊
no setter
isNotInGroup bool?
是否还在组内,如果退群返回true
getter/setter pair
isPinned bool?
是否置顶
getter/setter pair
isPrivateChat bool?
是否开启了私聊(阅后即焚)
getter/setter pair
isSingleChat bool
是单聊
no setter
isValid bool
是有效的
no setter
latestMsg Message?
会话最新消息内容
getter/setter pair
latestMsgSendTime int?
最新消息发送时间
getter/setter pair
recvMsgOpt int?
免打扰 0:正常;1:不接受消息;2:接受在线消息不接受离线消息;
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showName String?
昵称
getter/setter pair
unreadCount int?
未读消息数
getter/setter pair
userID String?
参与会话的userID
getter/setter pair

Methods

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

Operators

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