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) {
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;
Definition: EMChatMessage.h:114
NSArray< EMMessageReaction * > *_Nullable reactionList
Definition: EMChatMessage.h:356
BOOL isReadAcked
Definition: EMChatMessage.h:242
BOOL isNeedGroupAck
Definition: EMChatMessage.h:272
BOOL isContentReplaced
Definition: EMChatMessage.h:469
NSDictionary *_Nullable ext
Definition: EMChatMessage.h:386
NSString *_Nonnull conversationId
Definition: EMChatMessage.h:133
BOOL isChatThreadMessage
Definition: EMChatMessage.h:257
NSString *_Nonnull from
Definition: EMChatMessage.h:151
BOOL deliverOnlineOnly
Definition: EMChatMessage.h:442
BOOL onlineState
Definition: EMChatMessage.h:227
BOOL isDeliverAcked
Definition: EMChatMessage.h:308
NSString *_Nonnull messageId
Definition: EMChatMessage.h:124
long long localTime
Definition: EMChatMessage.h:184
EMChatThread *_Nullable chatThread
Definition: EMChatMessage.h:399
BOOL isRead
Definition: EMChatMessage.h:323
int groupAckCount
Definition: EMChatMessage.h:281
EMMessageStatus status
Definition: EMChatMessage.h:202
NSString *_Nonnull to
Definition: EMChatMessage.h:160
long long timestamp
Definition: EMChatMessage.h:171
EMMessageDirection direction
Definition: EMChatMessage.h:142
BOOL isListened
Definition: EMChatMessage.h:338
BOOL broadcast
Definition: EMChatMessage.h:426
EMChatType chatType
Definition: EMChatMessage.h:193
EMChatRoomMessagePriority priority
Definition: EMChatMessage.h:414
EMMessagePinInfo *_Nullable pinnedInfo
Definition: EMChatMessage.h:485
EMMessageBody *_Nonnull body
Definition: EMChatMessage.h:347
NSArray< NSString * > *_Nullable receiverList
Definition: EMChatMessage.h:457
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