15 #import <Foundation/Foundation.h>
17 #import "EMMessageBody.h"
18 #import "EMMessageReaction.h"
27 typedef NS_ENUM(NSInteger, EMChatType) {
40 typedef NS_ENUM(NSInteger, EMMessageStatus) {
41 EMMessageStatusPending = 0,
42 EMMessageStatusDelivering,
43 EMMessageStatusSucceed,
44 EMMessageStatusFailed,
54 typedef NS_ENUM(NSInteger, EMMessageDirection) {
55 EMMessageDirectionSend = 0,
56 EMMessageDirectionReceive,
66 typedef NS_ENUM(NSInteger, EMChatRoomMessagePriority) {
68 EMChatRoomMessagePriorityHigh = 0,
70 EMChatRoomMessagePriorityNormal,
72 EMChatRoomMessagePriorityLow,
84 @property (strong,nonatomic) NSString* _Nonnull
operatorId;
97 typedef 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;
NSInteger pinTime
Definition: EMChatMessage.h:86
Definition: EMMessageReaction.h:20
Definition: EMMessageBody.h:45
Definition: EMChatMessage.h:113
Definition: EMChatThread.h:21
NSString *_Nonnull operatorId
Definition: EMChatMessage.h:84
Definition: EMChatMessage.h:82