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;
162@property (nonatomic) EMMessageStatus
status;
198@property (nonatomic) BOOL isChannelMessage;
289@property (nonatomic, readonly) NSArray <EMMessageReaction *>* _Nullable
reactionList;
319@property (nonatomic, copy) NSDictionary * _Nullable
ext;
336@property (nonatomic) EMChatRoomMessagePriority
priority;
363- (
id _Nonnull )initWithConversationID:(NSString *_Nonnull)aConversationId
364 from:(NSString *_Nonnull)aFrom
365 to:(NSString *_Nonnull)aTo
367 ext:(NSDictionary *_Nullable)aExt;
390- (
id _Nonnull )initWithConversationID:(NSString *_Nonnull)aConversationId
392 ext:(NSDictionary *_Nullable)aExt;
Definition: EMChatMessage.h:82
NSArray< EMMessageReaction * > *_Nullable reactionList
Definition: EMChatMessage.h:289
BOOL isReadAcked
Definition: EMChatMessage.h:186
BOOL isNeedGroupAck
Definition: EMChatMessage.h:213
NSDictionary *_Nullable ext
Definition: EMChatMessage.h:319
NSString *_Nonnull conversationId
Definition: EMChatMessage.h:99
BOOL isChatThreadMessage
Definition: EMChatMessage.h:195
NSString *_Nonnull from
Definition: EMChatMessage.h:117
BOOL onlineState
Definition: EMChatMessage.h:171
BOOL isDeliverAcked
Definition: EMChatMessage.h:241
NSString *_Nonnull messageId
Definition: EMChatMessage.h:90
long long localTime
Definition: EMChatMessage.h:144
EMChatThread *_Nullable chatThread
Definition: EMChatMessage.h:328
BOOL isRead
Definition: EMChatMessage.h:256
int groupAckCount
Definition: EMChatMessage.h:222
EMMessageStatus status
Definition: EMChatMessage.h:162
NSString *_Nonnull to
Definition: EMChatMessage.h:126
long long timestamp
Definition: EMChatMessage.h:135
EMMessageDirection direction
Definition: EMChatMessage.h:108
BOOL isListened
Definition: EMChatMessage.h:271
EMChatType chatType
Definition: EMChatMessage.h:153
EMChatRoomMessagePriority priority
Definition: EMChatMessage.h:336
EMMessageBody *_Nonnull body
Definition: EMChatMessage.h:280
Definition: EMChatThread.h:22
Definition: EMMessageBody.h:45
Definition: EMMessageReaction.h:21