NIMMessageServerRetrieveOption Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMMessageSearchOption.h |
Overview
Keyword retrieval options for messages stored on the server
Search condition: Date range: (startTime,endTime), type: messageTypes or all types and match searchContent or fromIds
startTime
The start time. The default value is 0
@property (nonatomic, assign) NSTimeInterval startTime
Discussion
The start time. The default value is 0
Declared In
NIMMessageSearchOption.h
endTime
The end time. the default value is 0
@property (nonatomic, assign) NSTimeInterval endTime
Discussion
The end time. the default value is 0
The end time of the search. A value of 0 indiates the maximum timestamp allowed.
Declared In
NIMMessageSearchOption.h
limit
Search limit
@property (nonatomic, assign) NSUInteger limit
Discussion
Search limit
The default value is 100. A value of 0 indicates no limit and the maximum is 100.
Declared In
NIMMessageSearchOption.h
order
Search order
@property (nonatomic, assign) NIMMessageSearchOrder order
Discussion
Search order
Declared In
NIMMessageSearchOption.h
keyword
Keyword
@property (nullable, nonatomic, copy) NSString *keyword
Discussion
Keyword
Declared In
NIMMessageSearchOption.h