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

48 lines
935 B
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.

//
// NIMThreadTalkFetchOption.h
// NIMLib
//
// Created by He on 2020/4/7.
// Copyright © 2020 Netease. All rights reserved.
//
#import <Foundation/Foundation.h>
@class NIMMessage;
NS_ASSUME_NONNULL_BEGIN
/**
* 获取Thread Talk消息分页选择
*/
@interface NIMThreadTalkFetchOption : NSObject
/**
* 查询开始时间戳,默认 0单位(s)
*/
@property (nonatomic,assign) NSTimeInterval start;
/**
* 查询h结束时间戳默认 当前时间+1小时单位(s)
*/
@property (nonatomic,assign) NSTimeInterval end;
/**
* 查询结果排除指定消息,默认为空
*/
@property (nonatomic,strong) NIMMessage *excludeMessage;
/**
* 分页查询数量默认100
*/
@property (nonatomic,assign) NSUInteger limit;
/**
* 逆序查询,默认 NO
*/
@property (nonatomic,assign) BOOL reverse;
/**
* 同步到DB默认 NO
*/
@property (nonatomic,assign) BOOL sync;
@end
NS_ASSUME_NONNULL_END