NERoomRecentSession class

最近联系人消息变更

Constructors

NERoomRecentSession(String? sessionId, String? fromAccount, String? fromNick, NERoomSessionTypeEnum? sessionType, String? recentMessageId, int unreadCount, String? content, int time)

Properties

content String?
获取最近一条消息的缩略内容。

对于文本消息,返回文本内容。

对于其他消息,返回一个简单的说明内容。如需展示更详细,或其他需求,可根据.getAttachment生成。 缩略内容
final
fromAccount String?
获取与该联系人的最后一条消息的发送方的帐号 fromAccount 发送者帐号
final
fromNick String?
获取与该联系人的最后一条消息的发送方的昵称 fromNick发送者昵称
final
hashCode int
The hash code for this object.
no setterinherited
recentMessageId String?
最近一条消息的UUID
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
获取聊天对象的Id(好友帐号,群ID等) sessionId 最近联系人帐号
final
sessionType NERoomSessionTypeEnum?
获取会话类型
final
time int
获取最近一条消息的时间,单位为ms
final
unreadCount int
获取该联系人的未读消息条数 未读数
final

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