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) {
115 -(instancetype _Nonnull ) init __attribute__((unavailable("call initWithConversationID instead")));
124 @property (nonatomic, copy) NSString * _Nonnull
messageId;
151 @property (nonatomic, copy) NSString * _Nonnull
from;
160 @property (nonatomic, copy) NSString * _Nonnull
to;
202 @property (nonatomic) EMMessageStatus
status;
356 @property (nonatomic, readonly) NSArray <EMMessageReaction *>* _Nullable
reactionList;
386 @property (nonatomic, copy) NSDictionary * _Nullable
ext;
414 @property (nonatomic) EMChatRoomMessagePriority
priority;
457 @property (nonatomic,strong) NSArray<NSString*>* _Nullable
receiverList;
512 - (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
513 from:(NSString *_Nonnull)aFrom
514 to:(NSString *_Nonnull)aTo
516 ext:(NSDictionary *_Nullable)aExt;
539 - (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
541 ext:(NSDictionary *_Nullable)aExt;
BOOL isRead
Definition: EMChatMessage.h:323
NSInteger pinTime
Definition: EMChatMessage.h:86
BOOL isReadAcked
Definition: EMChatMessage.h:242
NSArray< EMMessageReaction * > *_Nullable reactionList
Definition: EMChatMessage.h:356
NSArray< NSString * > *_Nullable receiverList
Definition: EMChatMessage.h:457
BOOL isNeedGroupAck
Definition: EMChatMessage.h:272
BOOL isDeliverAcked
Definition: EMChatMessage.h:308
Definition: EMMessageReaction.h:20
EMMessageStatus status
Definition: EMChatMessage.h:202
EMMessageBody *_Nonnull body
Definition: EMChatMessage.h:347
Definition: EMMessageBody.h:45
Definition: EMChatMessage.h:113
NSString *_Nonnull from
Definition: EMChatMessage.h:151
EMMessageDirection direction
Definition: EMChatMessage.h:142
EMMessagePinInfo *_Nullable pinnedInfo
Definition: EMChatMessage.h:485
NSString *_Nonnull to
Definition: EMChatMessage.h:160
BOOL isContentReplaced
Definition: EMChatMessage.h:469
EMChatThread *_Nullable chatThread
Definition: EMChatMessage.h:399
NSString *_Nonnull messageId
Definition: EMChatMessage.h:124
BOOL isListened
Definition: EMChatMessage.h:338
int groupAckCount
Definition: EMChatMessage.h:281
NSDictionary *_Nullable ext
Definition: EMChatMessage.h:386
Definition: EMChatThread.h:21
BOOL isChatThreadMessage
Definition: EMChatMessage.h:257
BOOL deliverOnlineOnly
Definition: EMChatMessage.h:442
EMChatRoomMessagePriority priority
Definition: EMChatMessage.h:414
EMChatType chatType
Definition: EMChatMessage.h:193
BOOL onlineState
Definition: EMChatMessage.h:227
NSString *_Nonnull operatorId
Definition: EMChatMessage.h:84
long long localTime
Definition: EMChatMessage.h:184
BOOL broadcast
Definition: EMChatMessage.h:426
long long timestamp
Definition: EMChatMessage.h:171
NSString *_Nonnull conversationId
Definition: EMChatMessage.h:133
Definition: EMChatMessage.h:82