HyphenateChatSDK 4.24.0
EMMessageSearchOption.h
1//
2// EMMessageSearchOption.h
3// HyphenateChat
4//
5// Created by OpenAI Codex on 2026/4/2.
6//
7
8#import <Foundation/Foundation.h>
9#import "EMConversation.h"
10
17typedef NS_ENUM(NSInteger, EMKeywordListMatchType) {
18 EMKeywordListMatchTypeOR,
19 EMKeywordListMatchTypeAND
20};
30@interface EMMessageSearchOption : NSObject
31
36@property (nonatomic, strong) NSArray<NSString *> * _Nonnull keywordList;
37
42@property (nonatomic) EMKeywordListMatchType keywordMatchType;
43
48@property (nonatomic, strong) NSString * _Nullable conversationId;
49
54@property (nonatomic, strong) NSArray<NSNumber *> * _Nullable msgTypes;
55
60@property (nonatomic) NSInteger startTime;
61
66@property (nonatomic) NSInteger endTime;
67
72@property (nonatomic) EMMessageSearchScope searchScope;
73@end
Definition: EMMessageSearchOption.h:31
EMMessageSearchScope searchScope
Definition: EMMessageSearchOption.h:72
NSArray< NSString * > *_Nonnull keywordList
Definition: EMMessageSearchOption.h:36
NSString *_Nullable conversationId
Definition: EMMessageSearchOption.h:48
NSInteger startTime
Definition: EMMessageSearchOption.h:60
NSInteger endTime
Definition: EMMessageSearchOption.h:66
EMKeywordListMatchType keywordMatchType
Definition: EMMessageSearchOption.h:42
NSArray< NSNumber * > *_Nullable msgTypes
Definition: EMMessageSearchOption.h:54