HyphenateChatSDK 4.10.0
EMChatManagerDelegate.h
15#import <Foundation/Foundation.h>
16#import "EMRecallMessageInfo.h"
17
18@class EMChatMessage;
19@class EMError;
22@class EMConversation;
23
31@protocol EMChatManagerDelegate <NSObject>
32
33@optional
34
35#pragma mark - Conversation
36
48- (void)conversationListDidUpdate:(NSArray<EMConversation *> * _Nonnull)aConversationList;
49
50#pragma mark - Message
51
63- (void)messagesDidReceive:(NSArray<EMChatMessage *> * _Nonnull)aMessages;
64
76- (void)cmdMessagesDidReceive:(NSArray<EMChatMessage *> * _Nonnull)aCmdMessages;
77
89- (void)messagesDidRead:(NSArray<EMChatMessage *> * _Nonnull)aMessages;
90
105- (void)groupMessageDidRead:(EMChatMessage * _Nonnull)aMessage
106 groupAcks:(NSArray<EMGroupMessageAck *> * _Nonnull)aGroupAcks;
107
117
144- (void)onConversationRead:(NSString * _Nonnull)from to:(NSString * _Nonnull)to;
145
157- (void)messagesDidDeliver:(NSArray<EMChatMessage *> * _Nonnull)aMessages;
158
170- (void)messagesInfoDidRecall:(NSArray<EMRecallMessageInfo *> * _Nonnull)aRecallMessagesInfo;
171
187- (void)messageStatusDidChange:(EMChatMessage * _Nonnull)aMessage
188 error:(EMError * _Nullable)aError;
189
203- (void)messageAttachmentStatusDidChange:(EMChatMessage * _Nonnull)aMessage
204 error:(EMError * _Nullable)aError;
220- (void)onMessageContentChanged:(EMChatMessage *_Nonnull)message operatorId:(NSString *_Nonnull)operatorId operationTime:(NSUInteger)operationTime;
221
239- (void)onMessagePinChanged:(NSString* _Nonnull)messageId conversationId:(NSString* _Nonnull)conversationId operation:(EMMessagePinOperation)pinOperation pinInfo:(EMMessagePinInfo* _Nonnull)pinInfo;
240
241#pragma mark - Deprecated methods
242
258- (void)messagesDidRecall:(NSArray *)aMessages __deprecated_msg("Use -messagesInfoDidRecall: instead");
259
271- (void)messageReactionDidChange:(NSArray<EMMessageReactionChange *>* _Nonnull)changes;
272@end
Definition: EMChatMessage.h:114
Definition: EMConversation.h:115
Definition: EMError.h:27
Definition: EMGroupMessageAck.h:21
Definition: EMChatMessage.h:83
Definition: EMMessageReactionChange.h:24
Definition: EMRecallMessageInfo.h:20
Definition: EMChatManagerDelegate.h:31