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) {
67 EMChatRoomMessagePriorityHigh = 0,
68 EMChatRoomMessagePriorityNormal,
69 EMChatRoomMessagePriorityLow,
90@property (nonatomic, copy) NSString * _Nonnull
messageId;
117@property (nonatomic, copy) NSString * _Nonnull
from;
126@property (nonatomic, copy) NSString * _Nonnull
to;
168@property (nonatomic) EMMessageStatus
status;
322@property (nonatomic, readonly) NSArray <EMMessageReaction *>* _Nullable
reactionList;
352@property (nonatomic, copy) NSDictionary * _Nullable
ext;
380@property (nonatomic) EMChatRoomMessagePriority
priority;
410@property (nonatomic,strong) NSArray<NSString*>* _Nullable
receiverList;
437- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
438 from:(NSString *_Nonnull)aFrom
439 to:(NSString *_Nonnull)aTo
441 ext:(NSDictionary *_Nullable)aExt;
464- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
466 ext:(NSDictionary *_Nullable)aExt;
Definition: EMChatMessage.h:82
NSArray< EMMessageReaction * > *_Nullable reactionList
Definition: EMChatMessage.h:322
BOOL isReadAcked
Definition: EMChatMessage.h:208
BOOL isNeedGroupAck
Definition: EMChatMessage.h:238
NSDictionary *_Nullable ext
Definition: EMChatMessage.h:352
NSString *_Nonnull conversationId
Definition: EMChatMessage.h:99
BOOL isChatThreadMessage
Definition: EMChatMessage.h:223
NSString *_Nonnull from
Definition: EMChatMessage.h:117
BOOL deliverOnlineOnly
Definition: EMChatMessage.h:395
BOOL onlineState
Definition: EMChatMessage.h:193
BOOL isDeliverAcked
Definition: EMChatMessage.h:274
NSString *_Nonnull messageId
Definition: EMChatMessage.h:90
long long localTime
Definition: EMChatMessage.h:150
EMChatThread *_Nullable chatThread
Definition: EMChatMessage.h:365
BOOL isRead
Definition: EMChatMessage.h:289
int groupAckCount
Definition: EMChatMessage.h:247
EMMessageStatus status
Definition: EMChatMessage.h:168
NSString *_Nonnull to
Definition: EMChatMessage.h:126
long long timestamp
Definition: EMChatMessage.h:137
EMMessageDirection direction
Definition: EMChatMessage.h:108
BOOL isListened
Definition: EMChatMessage.h:304
EMChatType chatType
Definition: EMChatMessage.h:159
EMChatRoomMessagePriority priority
Definition: EMChatMessage.h:380
EMMessageBody *_Nonnull body
Definition: EMChatMessage.h:313
NSArray< NSString * > *_Nullable receiverList
Definition: EMChatMessage.h:410
Definition: EMChatThread.h:22
Definition: EMMessageBody.h:46
Definition: EMMessageReaction.h:21