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;
369@property (nonatomic,readonly) BOOL
isRead;
402@property (nonatomic, readonly) NSArray <EMMessageReaction *>* _Nullable
reactionList;
415@property (nonatomic, copy) NSDictionary * _Nullable
ext;
443@property (nonatomic) EMChatRoomMessagePriority
priority;
505@property (nonatomic,strong) NSArray<NSString*>* _Nullable
receiverList;
580- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
581 from:(NSString *_Nonnull)aFrom
582 to:(NSString *_Nonnull)aTo
584 ext:(NSDictionary *_Nullable)aExt;
607- (instancetype _Nonnull)initWithConversationID:(NSString *_Nonnull)aConversationId
609 ext:(NSDictionary *_Nullable)aExt;
Definition: EMChatMessage.h:155
NSArray< EMMessageReaction * > *_Nullable reactionList
Definition: EMChatMessage.h:402
BOOL isNeedReadReceipt
Definition: EMChatMessage.h:318
BOOL isContentReplaced
Definition: EMChatMessage.h:517
NSString *_Nullable webhookEnv
Definition: EMChatMessage.h:490
NSDictionary *_Nullable ext
Definition: EMChatMessage.h:415
NSString *_Nonnull conversationId
Definition: EMChatMessage.h:174
CGFloat progress
Definition: EMChatMessage.h:526
BOOL isChatThreadMessage
Definition: EMChatMessage.h:298
NSString *_Nonnull from
Definition: EMChatMessage.h:192
BOOL deliverOnlineOnly
Definition: EMChatMessage.h:471
BOOL onlineState
Definition: EMChatMessage.h:268
BOOL isDeliverAcked
Definition: EMChatMessage.h:354
EMMessageSenderInfo *_Nullable senderInfo
Definition: EMChatMessage.h:554
NSString *_Nonnull messageId
Definition: EMChatMessage.h:165
long long localTime
Definition: EMChatMessage.h:225
BOOL isPeerRead
Definition: EMChatMessage.h:283
EMChatThread *_Nullable chatThread
Definition: EMChatMessage.h:428
BOOL isRead
Definition: EMChatMessage.h:369
int groupReadReceiptCount
Definition: EMChatMessage.h:327
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:548
EMMessageDirection direction
Definition: EMChatMessage.h:183
BOOL isListened
Definition: EMChatMessage.h:384
BOOL broadcast
Definition: EMChatMessage.h:455
EMChatType chatType
Definition: EMChatMessage.h:234
EMChatRoomMessagePriority priority
Definition: EMChatMessage.h:443
EMMessagePinInfo *_Nullable pinnedInfo
Definition: EMChatMessage.h:542
EMMessageBody *_Nonnull body
Definition: EMChatMessage.h:393
NSArray< NSString * > *_Nullable receiverList
Definition: EMChatMessage.h:505
Definition: EMChatThread.h:22
Definition: EMMessageBody.h:55
Definition: EMChatMessage.h:83
NSString *_Nonnull operatorId
Definition: EMChatMessage.h:84
NSInteger pinTime
Definition: EMChatMessage.h:86
Definition: EMChatMessage.h:113
Definition: EMStreamChunk.h:42