15#import <Foundation/Foundation.h>
17#import "EMCommonDefs.h"
18#import "EMGroupManagerDelegate.h"
20#import "EMGroupOptions.h"
21#import "EMCursorResult.h"
22#import "EMGroupSharedFile.h"
35#pragma mark - Delegate
51 delegateQueue:(dispatch_queue_t _Nullable )aQueue;
64- (void)removeDelegate:(
id _Nonnull)aDelegate;
67#pragma mark - Get Group
109- (NSArray *)getGroupsWithoutPushNotification:(
EMError **)pError EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::noPushGroups");
112#pragma mark - Get group from server
142- (NSArray<
EMGroup *> *_Nullable )getJoinedGroupsFromServerWithPage:(NSInteger)aPageNum
143 pageSize:(NSInteger)aPageSize
144 error:(
EMError **_Nullable )pError __deprecated_msg("Use -getJoinedGroupsFromServerWithPage:pageSize:needMemberCount:needRole:error:completion: instead");;
169- (
EMCursorResult<
EMGroup*> *_Nullable)getPublicGroupsFromServerWithCursor:(NSString *_Nullable)aCursor
170 pageSize:(NSInteger)aPageSize
171 error:(
EMError **_Nullable)pError;
194- (void)getPublicGroupsFromServerWithCursor:(NSString *_Nullable)aCursor
195 pageSize:(NSInteger)aPageSize
219- (
EMGroup * _Nullable)searchPublicGroupWithId:(NSString *_Nonnull)aGroundId
220 error:(
EMError **_Nullable)pError;
237- (void)searchPublicGroupWithId:(NSString *_Nonnull)aGroundId
238 completion:(
void (^_Nullable)(
EMGroup *aGroup,
EMError *_Nullable aError))aCompletionBlock;
257- (void)getJoinedGroupsCountFromServerWithCompletion:(
void (^_Nullable)(NSInteger groupCount,
EMError *_Nullable aError))aCompletionBlock;
290- (
EMGroup * _Nullable)createGroupWithSubject:(NSString *_Nullable)aSubject
291 description:(NSString *_Nullable)aDescription
292 invitees:(NSArray<NSString *> * _Nullable)aInvitees
293 message:(NSString *_Nullable)aMessage
295 error:(
EMError **_Nullable)pError;
324- (void)createGroupWithSubject:(NSString *_Nullable)aSubject
325 description:(NSString *_Nullable)aDescription
326 invitees:(NSArray<NSString *> * _Nullable)aInvitees
327 message:(NSString *_Nullable)aMessage
329 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
331#pragma mark - Fetch Info
354- (
EMGroup * _Nullable)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
355 error:(
EMError **_Nullable)pError;
380- (
EMGroup * _Nullable)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
381 fetchMembers:(BOOL)fetchMembers
382 error:(
EMError **_Nullable)pError;
403- (void)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
404 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
425- (void)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
426 fetchMembers:(BOOL)fetchMembers
427 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
460- (
EMCursorResult<NSString*> *)getGroupMemberListFromServerWithId:(NSString *_Nonnull)aGroupId
461 cursor:(NSString *_Nullable)aCursor
462 pageSize:(NSInteger)aPageSize
463 error:(
EMError **_Nullable)pError;
488- (void)getGroupMemberListFromServerWithId:(NSString *_Nonnull)aGroupId
489 cursor:(NSString *_Nullable)aCursor
490 pageSize:(NSInteger)aPageSize
491 completion:(
void (^_Nullable)(
EMCursorResult<NSString*> *aResult,
EMError *_Nullable aError))aCompletionBlock;
522- (NSArray<NSString *> * _Nullable)getGroupBlacklistFromServerWithId:(NSString *_Nonnull)aGroupId
523 pageNumber:(NSInteger)aPageNum
524 pageSize:(NSInteger)aPageSize
525 error:(
EMError **_Nullable)pError;
550- (void)getGroupBlacklistFromServerWithId:(NSString *_Nonnull)aGroupId
551 pageNumber:(NSInteger)aPageNum
552 pageSize:(NSInteger)aPageSize
553 completion:(
void (^_Nullable)(NSArray<NSString *> * _Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
581- (NSArray<NSString *> * _Nullable)getGroupMuteListFromServerWithId:(NSString *_Nonnull)aGroupId
582 pageNumber:(NSInteger)aPageNum
583 pageSize:(NSInteger)aPageSize
584 error:(
EMError **_Nullable)pError;
609- (void)getGroupMuteListFromServerWithId:(NSString *_Nonnull)aGroupId
610 pageNumber:(NSInteger)aPageNum
611 pageSize:(NSInteger)aPageSize
612 completion:(
void (^_Nullable)(NSArray<NSString *> * _Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
637- (void)fetchGroupMuteListFromServerWithId:(NSString *_Nonnull)aGroupId
638 pageNumber:(NSInteger)aPageNum
639 pageSize:(NSInteger)aPageSize
640 completion:(
void (^_Nullable)(NSDictionary<NSString *, NSNumber *> *_Nullable aDict,
EMError *_Nullable aError))aCompletionBlock;
663- (NSArray<
EMGroupSharedFile *> *_Nullable)getGroupFileListWithId:(NSString *_Nonnull)aGroupId
664 pageNumber:(NSInteger)aPageNum
665 pageSize:(NSInteger)aPageSize
666 error:(
EMError **_Nullable)pError;
689- (void)getGroupFileListWithId:(NSString *_Nonnull)aGroupId
690 pageNumber:(NSInteger)aPageNum
691 pageSize:(NSInteger)aPageSize
692 completion:(
void (^_Nullable)(NSArray<
EMGroupSharedFile *> *_Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
714- (NSArray *)getGroupWhiteListFromServerWithId:(NSString *_Nonnull)aGroupId
715 error:(
EMError **_Nullable)pError;
733- (void)getGroupWhiteListFromServerWithId:(NSString *_Nonnull)aGroupId
734 completion:(
void (^_Nullable)(NSArray<NSString *> * _Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
755- (BOOL)isMemberInWhiteListFromServerWithGroupId:(NSString *_Nonnull)aGroupId
756 error:(
EMError **_Nullable)pError;
773- (void)isMemberInWhiteListFromServerWithGroupId:(NSString *_Nonnull)aGroupId
774 completion:(
void (^_Nullable)(BOOL inWhiteList,
EMError *_Nullable aError))aCompletionBlock;
793- (NSString *_Nullable)getGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
794 error:(
EMError **_Nullable)pError;
811- (void)isMemberInMuteListFromServerWithGroupId:(NSString * _Nonnull)aGroupId
812 completion:(
void (^ _Nonnull)(BOOL inMuteList,
EMError * _Nullable aError))aCompletionBlock;
829- (void)getGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
830 completion:(
void (^_Nullable)(NSString *aAnnouncement,
EMError *_Nullable aError))aCompletionBlock;
832#pragma mark - Edit Group
859- (
EMGroup * _Nullable)addOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
860 toGroup:(NSString *_Nonnull)aGroupId
861 welcomeMessage:(NSString *_Nullable)aWelcomeMessage
862 error:(
EMError **_Nullable)pError;
883- (void)addMembers:(NSArray<NSString *> * _Nonnull)aUsers
884 toGroup:(NSString *_Nonnull)aGroupId
885 message:(NSString *_Nullable)aMessage
886 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
915- (
EMGroup * _Nullable)removeOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
916 fromGroup:(NSString *_Nonnull)aGroupId
917 error:(
EMError **_Nullable)pError;
940- (void)removeMembers:(NSArray<NSString *> * _Nonnull)aUsers
941 fromGroup:(NSString *_Nonnull)aGroupId
942 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
971- (
EMGroup * _Nullable)blockOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
972 fromGroup:(NSString *_Nonnull)aGroupId
973 error:(
EMError **_Nullable)pError;
996- (void)blockMembers:(NSArray<NSString *> * _Nonnull)aMembers
997 fromGroup:(NSString *_Nonnull)aGroupId
998 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1028- (
EMGroup * _Nullable)unblockOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
1029 forGroup:(NSString *_Nonnull)aGroupId
1030 error:(
EMError **_Nullable)pError;
1053- (void)unblockMembers:(NSArray<NSString *> * _Nonnull)aMembers
1054 fromGroup:(NSString *_Nonnull)aGroupId
1055 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1084- (
EMGroup * _Nullable)changeGroupSubject:(NSString *_Nullable)aSubject
1085 forGroup:(NSString *_Nonnull)aGroupId
1086 error:(
EMError **_Nullable)pError;
1109- (void)updateGroupSubject:(NSString *_Nullable)aSubject
1110 forGroup:(NSString *_Nonnull)aGroupId
1111 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1140- (
EMGroup * _Nullable)changeDescription:(NSString *_Nullable)aDescription
1141 forGroup:(NSString *_Nonnull)aGroupId
1142 error:(
EMError **_Nullable)pError;
1165- (void)updateDescription:(NSString *_Nullable)aDescription
1166 forGroup:(NSString *_Nonnull)aGroupId
1167 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1188- (void)leaveGroup:(NSString *_Nonnull)aGroupId
1189 error:(
EMError **_Nullable)pError;
1206- (void)leaveGroup:(NSString *_Nonnull)aGroupId
1207 completion:(
void (^_Nullable)(
EMError *_Nullable aError))aCompletionBlock;
1232- (
EMError *)destroyGroup:(NSString *_Nonnull)aGroupId;
1252- (void)destroyGroup:(NSString *_Nonnull)aGroupId
1253 finishCompletion:(
void (^_Nullable)(
EMError *_Nullable aError))aCompletionBlock;
1279- (
EMGroup * _Nullable)blockGroup:(NSString *_Nonnull)aGroupId
1280 error:(
EMError **_Nullable)pError;
1298- (void)blockGroup:(NSString *_Nonnull)aGroupId
1299 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1322- (
EMGroup * _Nullable)unblockGroup:(NSString *_Nonnull)aGroupId
1323 error:(
EMError **_Nullable)pError;
1339- (void)unblockGroup:(NSString *_Nonnull)aGroupId
1340 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1370- (
EMGroup * _Nullable)updateGroupOwner:(NSString *_Nonnull)aGroupId
1371 newOwner:(NSString *_Nonnull)aNewOwner
1372 error:(
EMError **_Nullable)pError;
1395- (void)updateGroupOwner:(NSString *_Nonnull)aGroupId
1396 newOwner:(NSString *_Nonnull)aNewOwner
1397 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1424- (
EMGroup * _Nullable)addAdmin:(NSString *_Nonnull)aAdmin
1425 toGroup:(NSString *_Nonnull)aGroupId
1426 error:(
EMError **_Nullable)pError;
1453- (void)addAdmin:(NSString *_Nonnull)aAdmin
1454 toGroup:(NSString *_Nonnull)aGroupId
1455 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1484- (
EMGroup * _Nullable)removeAdmin:(NSString *_Nonnull)aAdmin
1485 fromGroup:(NSString *_Nonnull)aGroupId
1486 error:(
EMError **_Nullable)pError;
1513- (void)removeAdmin:(NSString *_Nonnull)aAdmin
1514 fromGroup:(NSString *_Nonnull)aGroupId
1515 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1547- (
EMGroup * _Nullable)muteMembers:(NSArray<NSString *> * _Nonnull)aMuteMembers
1548 muteMilliseconds:(NSInteger)aMuteMilliseconds
1549 fromGroup:(NSString *_Nonnull)aGroupId
1550 error:(
EMError **_Nullable)pError;
1578- (void)muteMembers:(NSArray<NSString *> * _Nonnull)aMuteMembers
1579 muteMilliseconds:(NSInteger)aMuteMilliseconds
1580 fromGroup:(NSString *_Nonnull)aGroupId
1581 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1610- (
EMGroup * _Nullable)unmuteMembers:(NSArray<NSString *> * _Nonnull)aMembers
1611 fromGroup:(NSString *_Nonnull)aGroupId
1612 error:(
EMError **_Nullable)pError;
1638- (void)unmuteMembers:(NSArray<NSString *> * _Nonnull)aMembers
1639 fromGroup:(NSString *_Nonnull)aGroupId
1640 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1667- (
EMGroup * _Nullable)muteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1668 error:(
EMError **_Nullable)pError;
1692- (void)muteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1693 completion:(
void(^)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1721- (
EMGroup * _Nullable)unmuteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1722 error:(
EMError **_Nullable)pError;
1747- (void)unmuteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1748 completion:(
void(^)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1778- (
EMGroup * _Nullable)addWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1779 fromGroup:(NSString *_Nonnull)aGroupId
1780 error:(
EMError **_Nullable)pError;
1804- (void)addWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1805 fromGroup:(NSString *_Nonnull)aGroupId
1806 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1836- (
EMGroup * _Nullable)removeWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1837 fromGroup:(NSString *_Nonnull)aGroupId
1838 error:(
EMError **_Nullable)pError;
1864- (void)removeWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1865 fromGroup:(NSString *_Nonnull)aGroupId
1866 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1887- (void)uploadGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1888 filePath:(NSString* _Nonnull)aFilePath
1889 progress:(
void (^_Nullable)(
int progress))aProgressBlock
1890 completion:(
void (^_Nullable)(
EMGroupSharedFile *_Nullable aSharedFile,
EMError *_Nullable aError))aCompletionBlock;
1911- (void)downloadGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1912 filePath:(NSString *_Nonnull)aFilePath
1913 sharedFileId:(NSString *_Nonnull)aSharedFileId
1914 progress:(
void (^_Nullable)(
int progress))aProgressBlock
1915 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1938- (
EMGroup * _Nullable)removeGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1939 sharedFileId:(NSString *_Nonnull)aSharedFileId
1940 error:(
EMError **_Nullable)pError;
1957- (void)removeGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1958 sharedFileId:(NSString *_Nonnull)aSharedFileId
1959 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1986- (
EMGroup * _Nullable)updateGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
1987 announcement:(NSString *_Nullable)aAnnouncement
1988 error:(
EMError **_Nullable)pError;
2014- (void)updateGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
2015 announcement:(NSString *_Nullable)aAnnouncement
2016 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2043- (
EMGroup * _Nullable)updateGroupExtWithId:(NSString *_Nonnull)aGroupId
2044 ext:(NSString *_Nullable)aExt
2045 error:(
EMError **_Nullable)pError;
2067- (void)updateGroupExtWithId:(NSString *_Nonnull)aGroupId
2068 ext:(NSString *_Nullable)aExt
2069 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2071#pragma mark - Edit Public Group
2094- (
EMGroup * _Nullable)joinPublicGroup:(NSString *_Nonnull)aGroupId
2095 error:(
EMError **_Nullable)pError;
2111- (void)joinPublicGroup:(NSString *_Nonnull)aGroupId
2112 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2137- (
EMGroup * _Nullable)applyJoinPublicGroup:(NSString *_Nonnull)aGroupId
2138 message:(NSString *_Nullable)aMessage
2139 error:(
EMError **_Nullable)pError;
2158- (void)requestToJoinPublicGroup:(NSString *_Nonnull)aGroupId
2159 message:(NSString *_Nullable)aMessage
2160 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2162#pragma mark - Application
2189- (
EMError *)acceptJoinApplication:(NSString *_Nonnull)aGroupId
2190 applicant:(NSString *_Nonnull)aUsername;
2217- (void)approveJoinGroupRequest:(NSString *_Nonnull)aGroupId
2218 sender:(NSString *_Nonnull)aUsername
2219 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2248- (
EMError *)declineJoinApplication:(NSString *_Nonnull)aGroupId
2249 applicant:(NSString *_Nonnull)aUsername
2250 reason:(NSString *_Nullable)aReason;
2279- (void)declineJoinGroupRequest:(NSString *_Nonnull)aGroupId
2280 sender:(NSString *_Nonnull)aUsername
2281 reason:(NSString *_Nullable)aReason
2282 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2307- (
EMGroup * _Nullable)acceptInvitationFromGroup:(NSString *_Nonnull)aGroupId
2308 inviter:(NSString *_Nonnull)aUsername
2309 error:(
EMError **_Nullable)pError;
2333- (void)acceptInvitationFromGroup:(NSString *_Nonnull)aGroupId
2334 inviter:(NSString *_Nonnull)aUsername
2335 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2360- (
EMError *)declineInvitationFromGroup:(NSString *_Nonnull)aGroupId
2361 inviter:(NSString *_Nonnull)aUsername
2362 reason:(NSString *_Nullable)aReason;
2387- (void)declineGroupInvitation:(NSString *_Nonnull)aGroupId
2388 inviter:(NSString *_Nonnull)aInviter
2389 reason:(NSString *_Nullable)aReason
2390 completion:(
void (^_Nullable)(
EMError *_Nullable aError))aCompletionBlock;
2430- (void)getJoinedGroupsFromServerWithPage:(NSInteger)aPageNum
2431 pageSize:(NSInteger)aPageSize
2432 needMemberCount:(BOOL)aNeedMemberCount
2433 needRole:(BOOL)aNeedRole
2434 completion:(
void (^_Nullable)(NSArray<
EMGroup *> *_Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
2463- (
EMError *)ignoreGroupPush:(NSString *)aGroupId
2464 ignore:(BOOL)aIsIgnore EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:");
2488- (void)updatePushServiceForGroup:(NSString *)aGroupId
2489 isPushEnabled:(BOOL)aIsEnable
2490 completion:(
void (^)(
EMGroup *aGroup,
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:completion:");
2518- (
EMError *)ignoreGroupsPush:(NSArray *)aGroupIDs
2519 ignore:(BOOL)aIsIgnore EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:");
2542- (void)updatePushServiceForGroups:(NSArray *)aGroupIDs
2543 isPushEnabled:(BOOL)aIsEnable
2544 completion:(
void (^)(NSArray *groups,
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:completion:");
2546#pragma mark - Group member attributes
2564- (void)setMemberAttribute:(NSString *_Nonnull)groupId userId:(NSString *_Nonnull)userId attributes:(NSDictionary<NSString*,NSString*> *_Nonnull)attributes completion:(
void (^_Nullable)(
EMError *_Nullable error))completionBlock;
2587- (void)fetchMemberAttribute:(NSString *_Nonnull)groupId userId:(NSString *_Nonnull)userId completion:(
void (^ _Nullable)(NSDictionary<NSString *,NSString *> * _Nullable,
EMError * _Nullable))completionBlock;
2612- (void)fetchMembersAttributes:(NSString *_Nonnull)groupId userIds:(NSArray<__kindof NSString *> *_Nonnull)userIds keys:(NSArray<__kindof NSString *> *_Nonnull)keys completion:(
void (^_Nullable)(NSDictionary<NSString*,NSDictionary<NSString*,NSString*>*> *_Nullable attributes,
EMError *_Nullable error))completionBlock;
2614#pragma mark - EM_DEPRECATED_IOS 3.8.8
2641- (void)getJoinedGroupsFromServerWithPage:(NSInteger)aPageNum
2642 pageSize:(NSInteger)aPageSize
2643 completion:(
void (^_Nullable)(NSArray<
EMGroup *> *aList,
EMError *_Nullable aError))aCompletionBlock
2644 __deprecated_msg("Use -getJoinedGroupsFromServerWithPage:pageSize:needMemberCount:needRole:error:completion: instead");
Definition: EMCursorResult.h:27
Definition: EMGroupOptions.h:42
Definition: EMGroupSharedFile.h:24
Definition: EMGroupManagerDelegate.h:40
Definition: IEMGroupManager.h:31
void cleanAllGroupsFromDB()
NSArray< EMGroup * > *_Nullable getJoinedGroups()
Definition: IEMPushManager.h:31