NIMFetchServerSessionOption Class Reference

Inherits from NSObject
Declared in NIMRecentSession.h

Overview

Option to get server session list

  minTimestamp

The minimum timestamp as the increment used as request parameter to get the session list. Unit: milliseconds

@property (nonatomic, assign) NSTimeInterval minTimestamp

Discussion

The minimum timestamp as the increment used as request parameter to get the session list. Unit: milliseconds

Declared In

NIMRecentSession.h

  maxTimestamp

The maximum timestamp for pagination in milliseconds. The default value is the current time.

@property (nonatomic, assign) NSTimeInterval maxTimestamp

Discussion

The maximum timestamp for pagination in milliseconds. The default value is the current time.

Declared In

NIMRecentSession.h

  needLastMessage

Specify whether last message is needed. The default value is YES.

@property (nonatomic, assign) BOOL needLastMessage

Discussion

Specify whether last message is needed. The default value is YES.

Declared In

NIMRecentSession.h

  limit

Limit of the result. The maximum number of 100 messages is allowed. The default value is 100.

@property (nonatomic, assign) NSInteger limit

Discussion

Limit of the result. The maximum number of 100 messages is allowed. The default value is 100.

Declared In

NIMRecentSession.h