15#import <Foundation/Foundation.h>
17#import "EMMessageBody.h"
18#import "EMMessageReaction.h"
27typedef NS_ENUM(NSInteger, EMChatType) {
40typedef NS_ENUM(NSInteger, EMMessageStatus) {
41 EMMessageStatusPending = 0,
42 EMMessageStatusDelivering,
43 EMMessageStatusSucceed,
44 EMMessageStatusFailed,
54typedef NS_ENUM(NSInteger, EMMessageDirection) {
55 EMMessageDirectionSend = 0,
56 EMMessageDirectionReceive,
66typedef NS_ENUM(NSInteger, EMChatRoomMessagePriority) {
68 EMChatRoomMessagePriorityHigh = 0,
70 EMChatRoomMessagePriorityNormal,
72 EMChatRoomMessagePriorityLow,
84@property (strong,nonatomic) NSString* _Nonnull
operatorId;
97typedef NS_ENUM(NSInteger, EMMessagePinOperation) {
122@property (nonatomic, copy) NSString * _Nonnull messageId;
131@property (nonatomic, copy) NSString * _Nonnull conversationId;
140@property (nonatomic) EMMessageDirection direction;
149@property (nonatomic, copy) NSString * _Nonnull from;
158@property (nonatomic, copy) NSString * _Nonnull to;
169@property (nonatomic)
long long timestamp;
182@property (nonatomic)
long long localTime;
191@property (nonatomic) EMChatType chatType;
200@property (nonatomic) EMMessageStatus status;
225@property (nonatomic, readonly) BOOL onlineState;
240@property (nonatomic) BOOL isReadAcked;
255@property (nonatomic) BOOL isChatThreadMessage;
270@property (nonatomic) BOOL isNeedGroupAck;
279@property (nonatomic, readonly)
int groupAckCount;
306@property (nonatomic) BOOL isDeliverAcked;
321@property (nonatomic) BOOL isRead;
336@property (nonatomic) BOOL isListened;
354@property (nonatomic, readonly) NSArray <EMMessageReaction *>* _Nullable reactionList;
384@property (nonatomic, copy) NSDictionary * _Nullable ext;
412@property (nonatomic) EMChatRoomMessagePriority priority;
424@property (nonatomic,readonly) BOOL broadcast;
440@property (nonatomic) BOOL deliverOnlineOnly;
455@property (nonatomic,strong) NSArray<NSString*>* _Nullable receiverList;
467@property (nonatomic,readonly) BOOL isContentReplaced;
510- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
511 from:(NSString *_Nonnull)aFrom
512 to:(NSString *_Nonnull)aTo
514 ext:(NSDictionary *_Nullable)aExt;
537- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
539 ext:(NSDictionary *_Nullable)aExt;
Definition: EMChatMessage.h:114
Definition: EMChatThread.h:22
Definition: EMMessageBody.h:46
Definition: EMChatMessage.h:83
NSString *_Nonnull operatorId
Definition: EMChatMessage.h:84
NSInteger pinTime
Definition: EMChatMessage.h:86
Definition: EMMessageReaction.h:21