NIMRecentSessionOption Class Reference

Inherits from NSObject
Declared in NIMRecentSession.h

Overview

Option for searching recent sessions

  filterLastMessageTypes

Filter the last message

@property (nonatomic, strong) NSArray<NSNumber*> *filterLastMessageTypes

Discussion

Filter the last message

lastMessage in the recent session is the last message not filtered. Example: @[@(NIMMessageTypeNotification)], lastMessage is the last message not of NIMMessageTypeNotification type returned in the recent session.

Declared In

NIMRecentSession.h