26 lines
703 B
Objective-C
26 lines
703 B
Objective-C
//
|
|
// Created by 陈吉力 on 2023/3/8.
|
|
// Copyright (c) 2023 Netease. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "NIMMessageSearchOption.h"
|
|
|
|
@class NIMSession;
|
|
@class NIMMessage;
|
|
|
|
|
|
@interface NIMMessagesInSessionOption : NSObject
|
|
/** 会话 */
|
|
@property(nonatomic, nonnull, copy) NIMSession *session;
|
|
/** 锚点消息 */
|
|
@property(nonatomic, nullable, copy) NIMMessage *message;
|
|
/** 数量限制 */
|
|
@property(nonatomic, assign) NSUInteger limit;
|
|
/** 类型限制 */
|
|
@property(nonatomic, nullable, copy)NSArray *filterTypes;
|
|
/** 结束时间 */
|
|
@property(nonatomic, assign) NSTimeInterval toTime;
|
|
/** 查询方向 */
|
|
@property(nonatomic, assign) NIMMessageSearchOrder order;
|
|
@end |