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
98- (NSArray *)getGroupsWithoutPushNotification:(
EMError **)pError EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::noPushGroups");
101#pragma mark - Get group from server
131- (NSArray<
EMGroup *> *_Nullable )getJoinedGroupsFromServerWithPage:(NSInteger)aPageNum
132 pageSize:(NSInteger)aPageSize
133 error:(
EMError **_Nullable )pError __deprecated_msg("Use -getJoinedGroupsFromServerWithPage:pageSize:needMemberCount:needRole:error:completion: instead");;
158- (
EMCursorResult<
EMGroup*> *_Nullable)getPublicGroupsFromServerWithCursor:(NSString *_Nullable)aCursor
159 pageSize:(NSInteger)aPageSize
160 error:(
EMError **_Nullable)pError;
183- (void)getPublicGroupsFromServerWithCursor:(NSString *_Nullable)aCursor
184 pageSize:(NSInteger)aPageSize
208- (
EMGroup * _Nullable)searchPublicGroupWithId:(NSString *_Nonnull)aGroundId
209 error:(
EMError **_Nullable)pError;
226- (void)searchPublicGroupWithId:(NSString *_Nonnull)aGroundId
227 completion:(
void (^_Nullable)(
EMGroup *aGroup,
EMError *_Nullable aError))aCompletionBlock;
246- (void)getJoinedGroupsCountFromServerWithCompletion:(
void (^_Nullable)(NSInteger groupCount,
EMError *_Nullable aError))aCompletionBlock;
279- (
EMGroup * _Nullable)createGroupWithSubject:(NSString *_Nullable)aSubject
280 description:(NSString *_Nullable)aDescription
281 invitees:(NSArray<NSString *> * _Nullable)aInvitees
282 message:(NSString *_Nullable)aMessage
284 error:(
EMError **_Nullable)pError;
313- (void)createGroupWithSubject:(NSString *_Nullable)aSubject
314 description:(NSString *_Nullable)aDescription
315 invitees:(NSArray<NSString *> * _Nullable)aInvitees
316 message:(NSString *_Nullable)aMessage
318 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
320#pragma mark - Fetch Info
343- (
EMGroup * _Nullable)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
344 error:(
EMError **_Nullable)pError;
369- (
EMGroup * _Nullable)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
370 fetchMembers:(BOOL)fetchMembers
371 error:(
EMError **_Nullable)pError;
392- (void)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
393 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
414- (void)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
415 fetchMembers:(BOOL)fetchMembers
416 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
449- (
EMCursorResult<NSString*> *)getGroupMemberListFromServerWithId:(NSString *_Nonnull)aGroupId
450 cursor:(NSString *_Nullable)aCursor
451 pageSize:(NSInteger)aPageSize
452 error:(
EMError **_Nullable)pError;
477- (void)getGroupMemberListFromServerWithId:(NSString *_Nonnull)aGroupId
478 cursor:(NSString *_Nullable)aCursor
479 pageSize:(NSInteger)aPageSize
480 completion:(
void (^_Nullable)(
EMCursorResult<NSString*> *aResult,
EMError *_Nullable aError))aCompletionBlock;
511- (NSArray<NSString *> * _Nullable)getGroupBlacklistFromServerWithId:(NSString *_Nonnull)aGroupId
512 pageNumber:(NSInteger)aPageNum
513 pageSize:(NSInteger)aPageSize
514 error:(
EMError **_Nullable)pError;
539- (void)getGroupBlacklistFromServerWithId:(NSString *_Nonnull)aGroupId
540 pageNumber:(NSInteger)aPageNum
541 pageSize:(NSInteger)aPageSize
542 completion:(
void (^_Nullable)(NSArray<NSString *> * _Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
570- (NSArray<NSString *> * _Nullable)getGroupMuteListFromServerWithId:(NSString *_Nonnull)aGroupId
571 pageNumber:(NSInteger)aPageNum
572 pageSize:(NSInteger)aPageSize
573 error:(
EMError **_Nullable)pError;
598- (void)getGroupMuteListFromServerWithId:(NSString *_Nonnull)aGroupId
599 pageNumber:(NSInteger)aPageNum
600 pageSize:(NSInteger)aPageSize
601 completion:(
void (^_Nullable)(NSArray<NSString *> * _Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
626- (void)fetchGroupMuteListFromServerWithId:(NSString *_Nonnull)aGroupId
627 pageNumber:(NSInteger)aPageNum
628 pageSize:(NSInteger)aPageSize
629 completion:(
void (^_Nullable)(NSDictionary<NSString *, NSNumber *> *_Nullable aDict,
EMError *_Nullable aError))aCompletionBlock;
652- (NSArray<
EMGroupSharedFile *> *_Nullable)getGroupFileListWithId:(NSString *_Nonnull)aGroupId
653 pageNumber:(NSInteger)aPageNum
654 pageSize:(NSInteger)aPageSize
655 error:(
EMError **_Nullable)pError;
678- (void)getGroupFileListWithId:(NSString *_Nonnull)aGroupId
679 pageNumber:(NSInteger)aPageNum
680 pageSize:(NSInteger)aPageSize
681 completion:(
void (^_Nullable)(NSArray<
EMGroupSharedFile *> *_Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
703- (NSArray *)getGroupWhiteListFromServerWithId:(NSString *_Nonnull)aGroupId
704 error:(
EMError **_Nullable)pError;
722- (void)getGroupWhiteListFromServerWithId:(NSString *_Nonnull)aGroupId
723 completion:(
void (^_Nullable)(NSArray<NSString *> * _Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
744- (BOOL)isMemberInWhiteListFromServerWithGroupId:(NSString *_Nonnull)aGroupId
745 error:(
EMError **_Nullable)pError;
762- (void)isMemberInWhiteListFromServerWithGroupId:(NSString *_Nonnull)aGroupId
763 completion:(
void (^_Nullable)(BOOL inWhiteList,
EMError *_Nullable aError))aCompletionBlock;
782- (NSString *_Nullable)getGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
783 error:(
EMError **_Nullable)pError;
800- (void)getGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
801 completion:(
void (^_Nullable)(NSString *aAnnouncement,
EMError *_Nullable aError))aCompletionBlock;
803#pragma mark - Edit Group
830- (
EMGroup * _Nullable)addOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
831 toGroup:(NSString *_Nonnull)aGroupId
832 welcomeMessage:(NSString *_Nullable)aWelcomeMessage
833 error:(
EMError **_Nullable)pError;
854- (void)addMembers:(NSArray<NSString *> * _Nonnull)aUsers
855 toGroup:(NSString *_Nonnull)aGroupId
856 message:(NSString *_Nullable)aMessage
857 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
886- (
EMGroup * _Nullable)removeOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
887 fromGroup:(NSString *_Nonnull)aGroupId
888 error:(
EMError **_Nullable)pError;
911- (void)removeMembers:(NSArray<NSString *> * _Nonnull)aUsers
912 fromGroup:(NSString *_Nonnull)aGroupId
913 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
942- (
EMGroup * _Nullable)blockOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
943 fromGroup:(NSString *_Nonnull)aGroupId
944 error:(
EMError **_Nullable)pError;
967- (void)blockMembers:(NSArray<NSString *> * _Nonnull)aMembers
968 fromGroup:(NSString *_Nonnull)aGroupId
969 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
999- (
EMGroup * _Nullable)unblockOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
1000 forGroup:(NSString *_Nonnull)aGroupId
1001 error:(
EMError **_Nullable)pError;
1024- (void)unblockMembers:(NSArray<NSString *> * _Nonnull)aMembers
1025 fromGroup:(NSString *_Nonnull)aGroupId
1026 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1055- (
EMGroup * _Nullable)changeGroupSubject:(NSString *_Nullable)aSubject
1056 forGroup:(NSString *_Nonnull)aGroupId
1057 error:(
EMError **_Nullable)pError;
1080- (void)updateGroupSubject:(NSString *_Nullable)aSubject
1081 forGroup:(NSString *_Nonnull)aGroupId
1082 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1111- (
EMGroup * _Nullable)changeDescription:(NSString *_Nullable)aDescription
1112 forGroup:(NSString *_Nonnull)aGroupId
1113 error:(
EMError **_Nullable)pError;
1136- (void)updateDescription:(NSString *_Nullable)aDescription
1137 forGroup:(NSString *_Nonnull)aGroupId
1138 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1159- (void)leaveGroup:(NSString *_Nonnull)aGroupId
1160 error:(
EMError **_Nullable)pError;
1177- (void)leaveGroup:(NSString *_Nonnull)aGroupId
1178 completion:(
void (^_Nullable)(
EMError *_Nullable aError))aCompletionBlock;
1203- (
EMError *)destroyGroup:(NSString *_Nonnull)aGroupId;
1223- (void)destroyGroup:(NSString *_Nonnull)aGroupId
1224 finishCompletion:(
void (^_Nullable)(
EMError *_Nullable aError))aCompletionBlock;
1250- (
EMGroup * _Nullable)blockGroup:(NSString *_Nonnull)aGroupId
1251 error:(
EMError **_Nullable)pError;
1269- (void)blockGroup:(NSString *_Nonnull)aGroupId
1270 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1293- (
EMGroup * _Nullable)unblockGroup:(NSString *_Nonnull)aGroupId
1294 error:(
EMError **_Nullable)pError;
1310- (void)unblockGroup:(NSString *_Nonnull)aGroupId
1311 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1341- (
EMGroup * _Nullable)updateGroupOwner:(NSString *_Nonnull)aGroupId
1342 newOwner:(NSString *_Nonnull)aNewOwner
1343 error:(
EMError **_Nullable)pError;
1366- (void)updateGroupOwner:(NSString *_Nonnull)aGroupId
1367 newOwner:(NSString *_Nonnull)aNewOwner
1368 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1395- (
EMGroup * _Nullable)addAdmin:(NSString *_Nonnull)aAdmin
1396 toGroup:(NSString *_Nonnull)aGroupId
1397 error:(
EMError **_Nullable)pError;
1424- (void)addAdmin:(NSString *_Nonnull)aAdmin
1425 toGroup:(NSString *_Nonnull)aGroupId
1426 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1455- (
EMGroup * _Nullable)removeAdmin:(NSString *_Nonnull)aAdmin
1456 fromGroup:(NSString *_Nonnull)aGroupId
1457 error:(
EMError **_Nullable)pError;
1484- (void)removeAdmin:(NSString *_Nonnull)aAdmin
1485 fromGroup:(NSString *_Nonnull)aGroupId
1486 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1518- (
EMGroup * _Nullable)muteMembers:(NSArray<NSString *> * _Nonnull)aMuteMembers
1519 muteMilliseconds:(NSInteger)aMuteMilliseconds
1520 fromGroup:(NSString *_Nonnull)aGroupId
1521 error:(
EMError **_Nullable)pError;
1549- (void)muteMembers:(NSArray<NSString *> * _Nonnull)aMuteMembers
1550 muteMilliseconds:(NSInteger)aMuteMilliseconds
1551 fromGroup:(NSString *_Nonnull)aGroupId
1552 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1581- (
EMGroup * _Nullable)unmuteMembers:(NSArray<NSString *> * _Nonnull)aMembers
1582 fromGroup:(NSString *_Nonnull)aGroupId
1583 error:(
EMError **_Nullable)pError;
1609- (void)unmuteMembers:(NSArray<NSString *> * _Nonnull)aMembers
1610 fromGroup:(NSString *_Nonnull)aGroupId
1611 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1638- (
EMGroup * _Nullable)muteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1639 error:(
EMError **_Nullable)pError;
1663- (void)muteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1664 completion:(
void(^)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1692- (
EMGroup * _Nullable)unmuteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1693 error:(
EMError **_Nullable)pError;
1718- (void)unmuteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1719 completion:(
void(^)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1749- (
EMGroup * _Nullable)addWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1750 fromGroup:(NSString *_Nonnull)aGroupId
1751 error:(
EMError **_Nullable)pError;
1775- (void)addWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1776 fromGroup:(NSString *_Nonnull)aGroupId
1777 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1807- (
EMGroup * _Nullable)removeWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1808 fromGroup:(NSString *_Nonnull)aGroupId
1809 error:(
EMError **_Nullable)pError;
1835- (void)removeWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1836 fromGroup:(NSString *_Nonnull)aGroupId
1837 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1858- (void)uploadGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1859 filePath:(NSString* _Nonnull)aFilePath
1860 progress:(
void (^_Nullable)(
int progress))aProgressBlock
1861 completion:(
void (^_Nullable)(
EMGroupSharedFile *_Nullable aSharedFile,
EMError *_Nullable aError))aCompletionBlock;
1882- (void)downloadGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1883 filePath:(NSString *_Nonnull)aFilePath
1884 sharedFileId:(NSString *_Nonnull)aSharedFileId
1885 progress:(
void (^_Nullable)(
int progress))aProgressBlock
1886 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1909- (
EMGroup * _Nullable)removeGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1910 sharedFileId:(NSString *_Nonnull)aSharedFileId
1911 error:(
EMError **_Nullable)pError;
1928- (void)removeGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1929 sharedFileId:(NSString *_Nonnull)aSharedFileId
1930 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
1957- (
EMGroup * _Nullable)updateGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
1958 announcement:(NSString *_Nullable)aAnnouncement
1959 error:(
EMError **_Nullable)pError;
1985- (void)updateGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
1986 announcement:(NSString *_Nullable)aAnnouncement
1987 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2014- (
EMGroup * _Nullable)updateGroupExtWithId:(NSString *_Nonnull)aGroupId
2015 ext:(NSString *_Nullable)aExt
2016 error:(
EMError **_Nullable)pError;
2038- (void)updateGroupExtWithId:(NSString *_Nonnull)aGroupId
2039 ext:(NSString *_Nullable)aExt
2040 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2042#pragma mark - Edit Public Group
2065- (
EMGroup * _Nullable)joinPublicGroup:(NSString *_Nonnull)aGroupId
2066 error:(
EMError **_Nullable)pError;
2082- (void)joinPublicGroup:(NSString *_Nonnull)aGroupId
2083 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2108- (
EMGroup * _Nullable)applyJoinPublicGroup:(NSString *_Nonnull)aGroupId
2109 message:(NSString *_Nullable)aMessage
2110 error:(
EMError **_Nullable)pError;
2129- (void)requestToJoinPublicGroup:(NSString *_Nonnull)aGroupId
2130 message:(NSString *_Nullable)aMessage
2131 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2133#pragma mark - Application
2160- (
EMError *)acceptJoinApplication:(NSString *_Nonnull)aGroupId
2161 applicant:(NSString *_Nonnull)aUsername;
2188- (void)approveJoinGroupRequest:(NSString *_Nonnull)aGroupId
2189 sender:(NSString *_Nonnull)aUsername
2190 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2219- (
EMError *)declineJoinApplication:(NSString *_Nonnull)aGroupId
2220 applicant:(NSString *_Nonnull)aUsername
2221 reason:(NSString *_Nullable)aReason;
2250- (void)declineJoinGroupRequest:(NSString *_Nonnull)aGroupId
2251 sender:(NSString *_Nonnull)aUsername
2252 reason:(NSString *_Nullable)aReason
2253 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2278- (
EMGroup * _Nullable)acceptInvitationFromGroup:(NSString *_Nonnull)aGroupId
2279 inviter:(NSString *_Nonnull)aUsername
2280 error:(
EMError **_Nullable)pError;
2304- (void)acceptInvitationFromGroup:(NSString *_Nonnull)aGroupId
2305 inviter:(NSString *_Nonnull)aUsername
2306 completion:(
void (^_Nullable)(
EMGroup *_Nullable aGroup,
EMError *_Nullable aError))aCompletionBlock;
2331- (
EMError *)declineInvitationFromGroup:(NSString *_Nonnull)aGroupId
2332 inviter:(NSString *_Nonnull)aUsername
2333 reason:(NSString *_Nullable)aReason;
2358- (void)declineGroupInvitation:(NSString *_Nonnull)aGroupId
2359 inviter:(NSString *_Nonnull)aInviter
2360 reason:(NSString *_Nullable)aReason
2361 completion:(
void (^_Nullable)(
EMError *_Nullable aError))aCompletionBlock;
2401- (void)getJoinedGroupsFromServerWithPage:(NSInteger)aPageNum
2402 pageSize:(NSInteger)aPageSize
2403 needMemberCount:(BOOL)aNeedMemberCount
2404 needRole:(BOOL)aNeedRole
2405 completion:(
void (^_Nullable)(NSArray<
EMGroup *> *_Nullable aList,
EMError *_Nullable aError))aCompletionBlock;
2434- (
EMError *)ignoreGroupPush:(NSString *)aGroupId
2435 ignore:(BOOL)aIsIgnore EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:");
2459- (void)updatePushServiceForGroup:(NSString *)aGroupId
2460 isPushEnabled:(BOOL)aIsEnable
2461 completion:(
void (^)(
EMGroup *aGroup,
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:completion:");
2489- (
EMError *)ignoreGroupsPush:(NSArray *)aGroupIDs
2490 ignore:(BOOL)aIsIgnore EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:");
2513- (void)updatePushServiceForGroups:(NSArray *)aGroupIDs
2514 isPushEnabled:(BOOL)aIsEnable
2515 completion:(
void (^)(NSArray *groups,
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -
IEMPushManager::updatePushServiceForGroups:disablePush:completion:");
2517#pragma mark - Group member attributes
2535- (void)setMemberAttribute:(NSString *_Nonnull)groupId userId:(NSString *_Nonnull)userId attributes:(NSDictionary<NSString*,NSString*> *_Nonnull)attributes completion:(
void (^_Nullable)(
EMError *_Nullable error))completionBlock;
2558- (void)fetchMemberAttribute:(NSString *_Nonnull)groupId userId:(NSString *_Nonnull)userId completion:(
void (^ _Nullable)(NSDictionary<NSString *,NSString *> * _Nullable,
EMError * _Nullable))completionBlock;
2583- (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;
2585#pragma mark - EM_DEPRECATED_IOS 3.8.8
2612- (void)getJoinedGroupsFromServerWithPage:(NSInteger)aPageNum
2613 pageSize:(NSInteger)aPageSize
2614 completion:(
void (^_Nullable)(NSArray<
EMGroup *> *aList,
EMError *_Nullable aError))aCompletionBlock
2615 __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
NSArray< EMGroup * > *_Nullable getJoinedGroups()
Definition: IEMPushManager.h:31