15#import <Foundation/Foundation.h>
24typedef NS_ENUM(NSInteger, EMGroupLeaveReason) {
25 EMGroupLeaveReasonBeRemoved = 0,
26 EMGroupLeaveReasonUserLeave,
27 EMGroupLeaveReasonDestroyed,
66- (void)groupInvitationDidReceive:(NSString *_Nonnull)aGroupId
67 groupName:(NSString *_Nonnull)aGroupName
68 inviter:(NSString *_Nonnull)aInviter
69 message:(NSString *_Nullable)aMessage;
87- (void)groupInvitationDidAccept:(
EMGroup *_Nonnull)aGroup
88 invitee:(NSString *_Nonnull)aInvitee;
109- (void)groupInvitationDidDecline:(
EMGroup *_Nonnull)aGroup
110 invitee:(NSString *_Nonnull)aInvitee
111 reason:(NSString *_Nullable)aReason;
135- (void)didJoinGroup:(
EMGroup *_Nonnull)aGroup
136 inviter:(NSString *_Nonnull)aInviter
137 message:(NSString *_Nullable)aMessage;
152- (void)didLeaveGroup:(
EMGroup *_Nonnull)aGroup
153 reason:(EMGroupLeaveReason)aReason;
174- (void)joinGroupRequestDidReceive:(
EMGroup *_Nonnull)aGroup
175 user:(NSString *_Nonnull)aUsername
176 reason:(NSString *_Nullable)aReason;
195- (void)joinGroupRequestDidDecline:(NSString *_Nonnull)aGroupId
196 reason:(NSString *_Nullable)aReason
197 applicant:(NSString* _Nonnull )aApplicant;
218- (void)joinGroupRequestDidDecline:(NSString *_Nonnull)aGroupId
219 reason:(NSString *_Nullable)aReason
220 decliner:(NSString *_Nullable)aDecliner
221 applicant:(NSString* _Nonnull )aApplicant;
236- (void)joinGroupRequestDidApprove:(
EMGroup *_Nonnull)aGroup;
249- (void)groupListDidUpdate:(NSArray<
EMGroup *> *_Nonnull)aGroupList;
267- (void)groupMuteListDidUpdate:(
EMGroup *_Nonnull)aGroup
268 addedMutedMembers:(NSArray<NSString *> *_Nonnull)aMutedMembers
269 muteExpire:(NSInteger)aMuteExpire;
284- (void)groupMuteListDidUpdate:(
EMGroup *_Nonnull)aGroup
285 removedMutedMembers:(NSArray<NSString *> *_Nonnull)aMutedMembers;
300- (void)groupWhiteListDidUpdate:(
EMGroup *_Nonnull)aGroup
301 addedWhiteListMembers:(NSArray<NSString *> *_Nonnull)aMembers;
316- (void)groupWhiteListDidUpdate:(
EMGroup *_Nonnull)aGroup
317 removedWhiteListMembers:(NSArray<NSString *> *_Nonnull)aMembers;
333- (void)groupAllMemberMuteChanged:(
EMGroup *_Nonnull)aGroup
334 isAllMemberMuted:(BOOL)aMuted;
349- (void)groupAdminListDidUpdate:(
EMGroup *_Nonnull)aGroup
350 addedAdmin:(NSString *_Nonnull)aAdmin;
365- (void)groupAdminListDidUpdate:(
EMGroup *_Nonnull)aGroup
366 removedAdmin:(NSString *_Nonnull)aAdmin;
383- (void)groupOwnerDidUpdate:(
EMGroup *_Nonnull)aGroup
384 newOwner:(NSString *_Nonnull)aNewOwner
385 oldOwner:(NSString *_Nonnull)aOldOwner;
400- (void)userDidJoinGroup:(
EMGroup *_Nonnull)aGroup
401 user:(NSString *_Nonnull)aUsername;
416- (void)userDidLeaveGroup:(
EMGroup *_Nonnull)aGroup
417 user:(NSString *_Nonnull)aUsername;
432- (void)groupAnnouncementDidUpdate:(
EMGroup *_Nonnull)aGroup
433 announcement:(NSString *_Nullable)aAnnouncement;
448- (void)groupFileListDidUpdate:(
EMGroup *_Nonnull)aGroup
464- (void)groupFileListDidUpdate:(
EMGroup *_Nonnull)aGroup
465 removedSharedFile:(NSString *_Nonnull)aFileId;
480 - (void)groupStateChanged:(
EMGroup *)aGroup
481 isDisabled:(BOOL)aDisabled;
494- (void)groupSpecificationDidUpdate:(
EMGroup *)aGroup;
511- (void)onAttributesChangedOfGroupMember:(NSString *_Nonnull)groupId userId:(NSString *_Nonnull)userId attributes:(NSDictionary <NSString*,NSString*>*_Nullable)attributes operatorId:(NSString *_Nonnull)operatorId;
513#pragma mark - Deprecated methods
537- (void)groupInvitationDidReceive:(NSString *)aGroupId
538 inviter:(NSString *)aInviter
539 message:(NSString *)aMessage
540 __deprecated_msg("Use -groupInvitationDidReceive:groupName:inviter:message: instead");
557- (void)joinGroupRequestDidDecline:(NSString *_Nonnull)aGroupId
558 reason:(NSString *_Nullable)aReason EM_DEPRECATED_IOS(3_1_0, 4_2_0, "Use -joinGroupRequestDidDecline:reason:applicant: instead");
Definition: EMGroupSharedFile.h:24
Definition: EMGroupManagerDelegate.h:40