9#import <Foundation/Foundation.h>
15typedef NS_ENUM(NSInteger, AgoraChatGroupLeaveReason) {
16 AgoraChatGroupLeaveReasonBeRemoved = 0,
17 AgoraChatGroupLeaveReasonUserLeave,
18 AgoraChatGroupLeaveReasonDestroyed,
44- (void)groupInvitationDidReceive:(NSString *_Nonnull)aGroupId
45 groupName:(NSString *_Nonnull)aGroupName
46 inviter:(NSString *_Nonnull)aInviter
47 message:(NSString *_Nullable)aMessage;
58 invitee:(NSString *_Nonnull)aInvitee;
71 invitee:(NSString *_Nonnull)aInvitee
72 reason:(NSString *_Nullable)aReason;
87 inviter:(NSString *_Nonnull)aInviter
88 message:(NSString *_Nullable)aMessage;
98 reason:(AgoraChatGroupLeaveReason)aReason;
110- (void)joinGroupRequestDidReceive:(
AgoraChatGroup *_Nonnull)aGroup
111 user:(NSString *_Nonnull)aUsername
112 reason:(NSString *_Nullable)aReason;
122- (void)joinGroupRequestDidDecline:(NSString *_Nonnull)aGroupId
123 reason:(NSString *_Nullable)aReason
124 applicant:(NSString* _Nonnull )aApplicant;
135- (void)joinGroupRequestDidDecline:(NSString *_Nonnull)aGroupId
136 reason:(NSString *_Nullable)aReason
137 decliner:(NSString *_Nullable)aDecliner
138 applicant:(NSString* _Nonnull )aApplicant;
146- (void)joinGroupRequestDidApprove:(
AgoraChatGroup *_Nonnull)aGroup;
154- (void)groupListDidUpdate:(NSArray<
AgoraChatGroup *> *_Nonnull)aGroupList;
166 addedMutedMembers:(NSArray<NSString *> *_Nonnull)aMutedMembers
167 muteExpire:(NSInteger)aMuteExpire;
177 removedMutedMembers:(NSArray<NSString *> *_Nonnull)aMutedMembers;
187 addedWhiteListMembers:(NSArray<NSString *> *_Nonnull)aMembers;
197 removedWhiteListMembers:(NSArray<NSString *> *_Nonnull)aMembers;
208 isAllMemberMuted:(BOOL)aMuted;
218 addedAdmin:(NSString *_Nonnull)aAdmin;
228 removedAdmin:(NSString *_Nonnull)aAdmin;
239 newOwner:(NSString *_Nonnull)aNewOwner
240 oldOwner:(NSString *_Nonnull)aOldOwner;
250 user:(NSString *_Nonnull)aUsername;
260 user:(NSString *_Nonnull)aUsername;
269- (void)groupAnnouncementDidUpdate:(
AgoraChatGroup *_Nonnull)aGroup
270 announcement:(NSString *_Nullable)aAnnouncement;
290 removedSharedFile:(NSString *_Nonnull)aFileId;
300 isDisabled:(BOOL)aDisabled;
318- (void)onAttributesChangedOfGroupMember:(NSString *_Nonnull)groupId userId:(NSString *_Nonnull)userId attributes:(NSDictionary <NSString*,NSString*>*_Nullable)attributes operatorId:(NSString *_Nonnull)operatorId;
320#pragma mark - Deprecated methods
333- (void)groupInvitationDidReceive:(NSString *)aGroupId
334 inviter:(NSString *)aInviter
335 message:(NSString *)aMessage
336 __deprecated_msg("Use -groupInvitationDidReceive:groupName:inviter:message: instead");
345- (void)joinGroupRequestDidDecline:(NSString *_Nonnull)aGroupId
346 reason:(NSString *_Nullable)aReason EM_DEPRECATED_IOS(3_1_0, 4_2_0, "Use -joinGroupRequestDidDecline:reason:applicant: instead");
Definition: AgoraChatGroup.h:31
Definition: AgoraChatGroupSharedFile.h:15
Definition: AgoraChatGroupManagerDelegate.h:28