NIMMessageFullKeywordSearchOrderByTimeOption Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMMessageSearchOption.h |
Overview
Global search for messages stored on the server.
Search condition: Date range: (startTime,endTime), type: messageTypes or all types and match searchContent or fromIds
keyword
Keyword
@property (nullable, nonatomic, copy) NSString *keyword
Discussion
Keyword
Declared In
NIMMessageSearchOption.h
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
msgLimit
Number of messages for search
@property (nonatomic, assign) NSUInteger msgLimit
Discussion
Number of messages for search
limit on the number of messages
Declared In
NIMMessageSearchOption.h
asc
Search result sorting
@property (nonatomic, assign) BOOL asc
Discussion
Search result sorting
The sorting order of the result. True: in ascending order; false: in descending order.
Declared In
NIMMessageSearchOption.h
p2pArray
P2P session list @discussion
@property (nullable, nonatomic, copy) NSArray *p2pArray
Discussion
P2P session list @discussion
Declared In
NIMMessageSearchOption.h
teamArray
Group list @discussion
@property (nullable, nonatomic, copy) NSArray *teamArray
Discussion
Group list @discussion
Declared In
NIMMessageSearchOption.h
senderArray
List of senders @discussion
@property (nullable, nonatomic, copy) NSArray *senderArray
Discussion
List of senders @discussion
Declared In
NIMMessageSearchOption.h
msgTypeArray
Message type list @discussion
@property (nullable, nonatomic, copy) NSArray *msgTypeArray
Discussion
Message type list @discussion
Declared In
NIMMessageSearchOption.h
msgSubtypeArray
Message subtype list @discussion
@property (nullable, nonatomic, copy) NSArray *msgSubtypeArray
Discussion
Message subtype list @discussion
Declared In
NIMMessageSearchOption.h