NIMRecentSession Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NIMRecentSession.h |
session
当前会话
@property (nullable, nonatomic, readonly, copy) NIMSession *sessionDiscussion
当前会话
Declared In
NIMRecentSession.h
lastMessage
最后一条消息
@property (nullable, nonatomic, strong) NIMMessage *lastMessageDiscussion
最后一条消息
Declared In
NIMRecentSession.h
unreadCount
未读消息数
@property (nonatomic, readonly, assign) NSInteger unreadCountDiscussion
未读消息数
Declared In
NIMRecentSession.h
localExt
本地扩展
@property (nullable, nonatomic, readonly, copy) NSDictionary *localExtDiscussion
本地扩展
Declared In
NIMRecentSession.h
updateTime
服务端会话的最新更新时间,本地会话无效
@property (nonatomic, readonly, assign) NSTimeInterval updateTimeDiscussion
服务端会话的最新更新时间,本地会话无效
Declared In
NIMRecentSession.h
serverExt
会话服务扩展字段(本地会话该字段无效)
@property (nonatomic, copy) NSString *serverExtDiscussion
会话服务扩展字段(本地会话该字段无效)
Declared In
NIMRecentSession.h
lastMessageType
最后一条消息的类型(本地会话该字段无效)
@property (nonatomic, readonly, assign) NIMLastMsgType lastMessageTypeDiscussion
最后一条消息的类型(本地会话该字段无效)
Declared In
NIMRecentSession.h
lastRevokeNotification
最后一条撤回通知(本地会话该字段无效) lastMessageType为NIMLastMsgTypeNormalMessage时,最后一条为普通消息,请使用lastMessage获取,本字段为nil lastMessageType为NIMLastMsgTypeRevokeNotication时,lastMessage字段为nil,最后一条为撤回通知,请使用本字段获取
@property (nullable, nonatomic, readonly, strong) NIMRevokeMessageNotification *lastRevokeNotificationDiscussion
最后一条撤回通知(本地会话该字段无效) lastMessageType为NIMLastMsgTypeNormalMessage时,最后一条为普通消息,请使用lastMessage获取,本字段为nil lastMessageType为NIMLastMsgTypeRevokeNotication时,lastMessage字段为nil,最后一条为撤回通知,请使用本字段获取
Declared In
NIMRecentSession.h