15#import <Foundation/Foundation.h>
17#import "EMMessageBody.h"
18#import "EMMessageReaction.h"
19#import "EMStreamChunk.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) {
118@property (strong,nonatomic) NSString* _Nullable userId;
124@property (strong,nonatomic) NSString* _Nullable nickname;
130@property (strong,nonatomic) NSString* _Nullable avatarUrl;
136@property (strong,nonatomic) NSString* _Nullable remark;
142@property (strong,nonatomic) NSString* _Nullable groupNameCard;
156-(instancetype _Nonnull ) init __attribute__((unavailable("call initWithConversationID instead")));
165@property (nonatomic, copy) NSString * _Nonnull
messageId;
192@property (nonatomic, copy) NSString * _Nonnull
from;
201@property (nonatomic, copy) NSString * _Nonnull
to;
243@property (nonatomic) EMMessageStatus
status;
397@property (nonatomic, readonly) NSArray <EMMessageReaction *>* _Nullable
reactionList;
427@property (nonatomic, copy) NSDictionary * _Nullable
ext;
455@property (nonatomic) EMChatRoomMessagePriority
priority;
498@property (nonatomic,strong) NSArray<NSString*>* _Nullable
receiverList;
573- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
574 from:(NSString *_Nonnull)aFrom
575 to:(NSString *_Nonnull)aTo
577 ext:(NSDictionary *_Nullable)aExt;
600- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
602 ext:(NSDictionary *_Nullable)aExt;
Definition: EMChatMessage.h:155
NSArray< EMMessageReaction * > *_Nullable reactionList
Definition: EMChatMessage.h:397
BOOL isReadAcked
Definition: EMChatMessage.h:283
BOOL isNeedGroupAck
Definition: EMChatMessage.h:313
BOOL isContentReplaced
Definition: EMChatMessage.h:510
NSDictionary *_Nullable ext
Definition: EMChatMessage.h:427
NSString *_Nonnull conversationId
Definition: EMChatMessage.h:174
CGFloat progress
Definition: EMChatMessage.h:519
BOOL isChatThreadMessage
Definition: EMChatMessage.h:298
NSString *_Nonnull from
Definition: EMChatMessage.h:192
BOOL deliverOnlineOnly
Definition: EMChatMessage.h:483
BOOL onlineState
Definition: EMChatMessage.h:268
BOOL isDeliverAcked
Definition: EMChatMessage.h:349
EMMessageSenderInfo *_Nullable senderInfo
Definition: EMChatMessage.h:547
NSString *_Nonnull messageId
Definition: EMChatMessage.h:165
long long localTime
Definition: EMChatMessage.h:225
EMChatThread *_Nullable chatThread
Definition: EMChatMessage.h:440
BOOL isRead
Definition: EMChatMessage.h:364
int groupAckCount
Definition: EMChatMessage.h:322
EMMessageStatus status
Definition: EMChatMessage.h:243
NSString *_Nonnull to
Definition: EMChatMessage.h:201
long long timestamp
Definition: EMChatMessage.h:212
EMStreamChunk *_Nullable streamChunk
Definition: EMChatMessage.h:541
EMMessageDirection direction
Definition: EMChatMessage.h:183
BOOL isListened
Definition: EMChatMessage.h:379
BOOL broadcast
Definition: EMChatMessage.h:467
EMChatType chatType
Definition: EMChatMessage.h:234
EMChatRoomMessagePriority priority
Definition: EMChatMessage.h:455
EMMessagePinInfo *_Nullable pinnedInfo
Definition: EMChatMessage.h:535
EMMessageBody *_Nonnull body
Definition: EMChatMessage.h:388
NSArray< NSString * > *_Nullable receiverList
Definition: EMChatMessage.h:498
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
Definition: EMChatMessage.h:113
Definition: EMStreamChunk.h:42