AgoraChatSDK 1.3.1
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
150- (void)onMessagePinChanged:(NSString* _Nonnull)messageId conversationId:(NSString* _Nonnull)conversationId operation:(AgoraChatMessagePinOperation)pinOperation pinInfo:(AgoraChatMessagePinInfo* _Nonnull)pinInfo;
151
152#pragma mark - Deprecated methods
153
162- (void)messagesDidRecall:(NSArray *)aMessages __deprecated_msg("Use -messagesInfoDidRecall: instead");
163
170- (void)messageReactionDidChange:(NSArray<AgoraChatMessageReactionChange *>* _Nonnull)changes;
171@end
Definition: AgoraChatConversation.h:87
Definition: AgoraChatError.h:18
Definition: AgoraChatGroupMessageAck.h:18
Definition: AgoraChatMessage.h:87
Definition: AgoraChatMessage.h:62
Definition: AgoraChatMessageReactionChange.h:21
Definition: AgoraChatRecallMessageInfo.h:17
Definition: AgoraChatManagerDelegate.h:22