NIMRecentSession Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NIMRecentSession.h |
session
Current session
@property (nullable, nonatomic, readonly, copy) NIMSession *sessionDiscussion
Current session
Declared In
NIMRecentSession.h
lastMessage
Last message
@property (nullable, nonatomic, strong) NIMMessage *lastMessageDiscussion
Last message
Declared In
NIMRecentSession.h
unreadCount
Unread count
@property (nonatomic, readonly, assign) NSInteger unreadCountDiscussion
Unread count
Declared In
NIMRecentSession.h
localExt
Local extension field
@property (nullable, nonatomic, readonly, copy) NSDictionary *localExtDiscussion
Local extension field
Declared In
NIMRecentSession.h
serverExt
Session server extension field. This field is invalid for local sessions
@property (nonatomic, copy) NSString *serverExtDiscussion
Session server extension field. This field is invalid for local sessions
Declared In
NIMRecentSession.h
lastMessageType
Type of the most recent message. This field is invalid for local sessions
@property (nonatomic, readonly, assign) NIMLastMsgType lastMessageTypeDiscussion
Type of the most recent message. This field is invalid for local sessions
Declared In
NIMRecentSession.h
lastRevokeNotification
Last recalled notification. This field is invalid for local sessions) If lastMessageType is NIMLastMsgTypeNormalMessage, get the last message by calling lastMessage. The field is set to nil. If lastMessageType is NIMLastMsgTypeRevokeNotication, set lastMessage to nil. If the last message is recalled, use this field.
@property (nullable, nonatomic, readonly, strong) NIMRevokeMessageNotification *lastRevokeNotificationDiscussion
Last recalled notification. This field is invalid for local sessions) If lastMessageType is NIMLastMsgTypeNormalMessage, get the last message by calling lastMessage. The field is set to nil. If lastMessageType is NIMLastMsgTypeRevokeNotication, set lastMessage to nil. If the last message is recalled, use this field.
Declared In
NIMRecentSession.h