NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatSearchChannelByPageParam.h
浏览该文件的文档.
1//
2// Created by chenjili on 2022/4/28.
3// Copyright (c) 2022 Netease. All rights reserved.
4//
5
6#import <Foundation/Foundation.h>
7#import "NIMQChatDefs.h"
8
9NS_ASSUME_NONNULL_BEGIN
10/**
11 * 分页检索频道信息的参数
12 */
13@interface NIMQChatSearchChannelByPageParam : NSObject <NSCopying>
14/**
15 * 检索关键字,目标检索服务器名称
16 */
17@property(nonnull, nonatomic, copy) NSString* keyword;
18
19/**
20 * 排序规则 true:正序;false:反序
21 */
22@property(nonatomic, assign) BOOL asc;
23
24/**
25 * 查询时间范围的开始时间,单位s
26 */
27@property(nullable, nonatomic, copy) NSNumber *startTime;
28
29/**
30 * 查询时间范围的结束时间,要求比开始时间大,单位s
31 */
32@property(nullable, nonatomic, copy) NSNumber * endTime;
33
34/**
35 * 检索返回的最大记录数,最大和默认都是100
36 */
37@property(nullable, nonatomic, copy) NSNumber * limit;
38
39/**
40 * 服务器ID,填0表示不限制在某个服务器内查询
41 */
42@property(nonatomic, assign) unsigned long long serverId;
43
44/**
45 * 返回值的排序类型
46 */
47@property(nonatomic, assign) NIMQChatSearchChannelSortType sortType;
48
49/**
50 * 查询游标,查询的起始位置,上一次查询会返回cursor字段
51 */
52@property(nullable, nonatomic, copy) NSString *cursor;
53
54@end
55
56NS_ASSUME_NONNULL_END
NIMQChatSearchChannelSortType
Definition: NIMQChatDefs.h:478
Definition: NIMQChatSearchChannelByPageParam.h:13
NSNumber * limit
Definition: NIMQChatSearchChannelByPageParam.h:37
NSNumber * endTime
Definition: NIMQChatSearchChannelByPageParam.h:32
NSNumber * startTime
Definition: NIMQChatSearchChannelByPageParam.h:27
BOOL asc
Definition: NIMQChatSearchChannelByPageParam.h:22
NIMQChatSearchChannelSortType sortType
Definition: NIMQChatSearchChannelByPageParam.h:47
NSString * cursor
Definition: NIMQChatSearchChannelByPageParam.h:52
NSString * keyword
Definition: NIMQChatSearchChannelByPageParam.h:17
unsigned long long serverId
Definition: NIMQChatSearchChannelByPageParam.h:42