HyphenateChatSDK 3.9.9.1
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
104- (void)groupMessageDidRead:(EMChatMessage * _Nonnull)aMessage
105 groupAcks:(NSArray<EMGroupMessageAck *> * _Nonnull)aGroupAcks;
106
116
143- (void)onConversationRead:(NSString * _Nonnull)from to:(NSString * _Nonnull)to;
144
156- (void)messagesDidDeliver:(NSArray<EMChatMessage *> * _Nonnull)aMessages;
157
169- (void)messagesInfoDidRecall:(NSArray<EMRecallMessageInfo *> * _Nonnull)aRecallMessagesInfo;
170
186- (void)messageStatusDidChange:(EMChatMessage * _Nonnull)aMessage
187 error:(EMError * _Nullable)aError;
188
202- (void)messageAttachmentStatusDidChange:(EMChatMessage * _Nonnull)aMessage
203 error:(EMError * _Nullable)aError;
204
205
206#pragma mark - Deprecated methods
207
223- (void)messagesDidRecall:(NSArray *)aMessages __deprecated_msg("Use -messagesInfoDidRecall: instead");
224
236- (void)messageReactionDidChange:(NSArray<EMMessageReactionChange *>* _Nonnull)changes;
237
238@end
Definition: EMChatMessage.h:82
Definition: EMConversation.h:55
Definition: EMError.h:27
Definition: EMGroupMessageAck.h:21
Definition: EMMessageReactionChange.h:23
Definition: EMRecallMessageInfo.h:20
Definition: EMChatManagerDelegate.h:31