AgoraChatSDK 1.2.0
AgoraChatManagerDelegate.h
9#import <Foundation/Foundation.h>
10#import "AgoraChatRecallMessageInfo.h"
11
12@class AgoraChatMessage;
13@class AgoraChatError;
17
22@protocol AgoraChatManagerDelegate <NSObject>
23
24@optional
25
26#pragma mark - Conversation
27
34- (void)conversationListDidUpdate:(NSArray<AgoraChatConversation *> * _Nonnull)aConversationList;
35
36#pragma mark - Message
37
44- (void)messagesDidReceive:(NSArray<AgoraChatMessage *> * _Nonnull)aMessages;
45
52- (void)cmdMessagesDidReceive:(NSArray<AgoraChatMessage *> * _Nonnull)aCmdMessages;
53
60- (void)messagesDidRead:(NSArray<AgoraChatMessage *> * _Nonnull)aMessages;
61
70- (void)groupMessageDidRead:(AgoraChatMessage * _Nonnull)aMessage
71 groupAcks:(NSArray<AgoraChatGroupMessageAck *> * _Nonnull)aGroupAcks;
72
79
94- (void)onConversationRead:(NSString * _Nonnull)from to:(NSString * _Nonnull)to;
95
102- (void)messagesDidDeliver:(NSArray<AgoraChatMessage *> * _Nonnull)aMessages;
103
110- (void)messagesInfoDidRecall:(NSArray<AgoraChatRecallMessageInfo *> * _Nonnull)aRecallMessagesInfo;
111
119- (void)messageStatusDidChange:(AgoraChatMessage * _Nonnull)aMessage
120 error:(AgoraChatError * _Nullable)aError;
121
129- (void)messageAttachmentStatusDidChange:(AgoraChatMessage * _Nonnull)aMessage
130 error:(AgoraChatError * _Nullable)aError;
139- (void)onMessageContentChanged:(AgoraChatMessage *_Nonnull)message operatorId:(NSString *_Nonnull)operatorId operationTime:(NSUInteger)operationTime;
140
141#pragma mark - Deprecated methods
142
151- (void)messagesDidRecall:(NSArray *)aMessages __deprecated_msg("Use -messagesInfoDidRecall: instead");
152
159- (void)messageReactionDidChange:(NSArray<AgoraChatMessageReactionChange *>* _Nonnull)changes;
160
161@end
Definition: AgoraChatConversation.h:47
Definition: AgoraChatError.h:18
Definition: AgoraChatGroupMessageAck.h:18
Definition: AgoraChatMessage.h:61
Definition: AgoraChatMessageReactionChange.h:21
Definition: AgoraChatRecallMessageInfo.h:17
Definition: AgoraChatManagerDelegate.h:22