2025-10-09 16:48:46 +08:00

61 lines
1.4 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Created by chenjili on 2022/4/28.
// Copyright (c) 2022 Netease. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NIMQChatDefs.h"
NS_ASSUME_NONNULL_BEGIN
/**
* 检索服务器列表的参数
*/
@interface NIMQChatSearchServerByPageParam : NSObject <NSCopying>
/**
* 检索关键字,目标检索服务器名称
*/
@property(nonnull, nonatomic, copy) NSString* keyword;
/**
* 排序规则 true正序false反序
*/
@property(nonatomic, assign) BOOL asc;
/**
* 搜索类型广场搜索1个人服务器搜索2
*/
@property(nonatomic, assign) NIMQChatSearchServerType searchType;
/**
* 查询时间范围的开始时间单位s
*/
@property(nullable, nonatomic, copy) NSNumber *startTime;
/**
* 查询时间范围的结束时间要求比开始时间大单位s
*/
@property(nullable, nonatomic, copy) NSNumber * endTime;
/**
* 检索返回的最大记录数最大和默认都是100
*/
@property(nullable, nonatomic, copy) NSNumber * limit;
/**
* 服务器类型列表,服务器类型为正整数
*/
@property(nullable, nonatomic, copy) NSArray<NSNumber *> *serverTypes;
/**
* 返回值的排序类型
*/
@property(nonatomic, assign) NIMQChatSearchServerSortType sortType;
/**
* 查询游标查询的起始位置上一次查询会返回cursor字段
*/
@property(nullable, nonatomic, copy) NSString *cursor;
@end
NS_ASSUME_NONNULL_END