HyphenateChatSDK 4.10.0
IEMGroupManager.h
15#import <Foundation/Foundation.h>
16
17#import "EMCommonDefs.h"
18#import "EMGroupManagerDelegate.h"
19#import "EMGroup.h"
20#import "EMGroupOptions.h"
21#import "EMCursorResult.h"
22#import "EMGroupSharedFile.h"
23
31@protocol IEMGroupManager <NSObject>
32
33@required
34
35#pragma mark - Delegate
36
50- (void)addDelegate:(id<EMGroupManagerDelegate> _Nonnull)aDelegate
51 delegateQueue:(dispatch_queue_t _Nullable )aQueue;
52
64- (void)removeDelegate:(id _Nonnull)aDelegate;
65
66
67#pragma mark - Get Group
68
81- (NSArray<EMGroup *> *_Nullable )getJoinedGroups;
82
93
109- (NSArray *)getGroupsWithoutPushNotification:(EMError **)pError EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -IEMPushManager::noPushGroups");
110
111
112#pragma mark - Get group from server
113
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");;
145
169- (EMCursorResult<EMGroup*> *_Nullable)getPublicGroupsFromServerWithCursor:(NSString *_Nullable)aCursor
170 pageSize:(NSInteger)aPageSize
171 error:(EMError **_Nullable)pError;
172
194- (void)getPublicGroupsFromServerWithCursor:(NSString *_Nullable)aCursor
195 pageSize:(NSInteger)aPageSize
196 completion:(void (^_Nullable)(EMCursorResult<EMGroup*> *_Nullable aResult, EMError *_Nullable aError))aCompletionBlock;
197
219- (EMGroup * _Nullable)searchPublicGroupWithId:(NSString *_Nonnull)aGroundId
220 error:(EMError **_Nullable)pError;
221
237- (void)searchPublicGroupWithId:(NSString *_Nonnull)aGroundId
238 completion:(void (^_Nullable)(EMGroup *aGroup, EMError *_Nullable aError))aCompletionBlock;
239
257- (void)getJoinedGroupsCountFromServerWithCompletion:(void (^_Nullable)(NSInteger groupCount, EMError *_Nullable aError))aCompletionBlock;
258
259#pragma mark - Create
260
290- (EMGroup * _Nullable)createGroupWithSubject:(NSString *_Nullable)aSubject
291 description:(NSString *_Nullable)aDescription
292 invitees:(NSArray<NSString *> * _Nullable)aInvitees
293 message:(NSString *_Nullable)aMessage
294 setting:(EMGroupOptions *_Nullable)aSetting
295 error:(EMError **_Nullable)pError;
296
324- (void)createGroupWithSubject:(NSString *_Nullable)aSubject
325 description:(NSString *_Nullable)aDescription
326 invitees:(NSArray<NSString *> * _Nullable)aInvitees
327 message:(NSString *_Nullable)aMessage
328 setting:(EMGroupOptions *_Nullable)aSetting
329 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
330
331#pragma mark - Fetch Info
332
354- (EMGroup * _Nullable)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
355 error:(EMError **_Nullable)pError;
356
380- (EMGroup * _Nullable)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
381 fetchMembers:(BOOL)fetchMembers
382 error:(EMError **_Nullable)pError;
383
403- (void)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
404 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
405
425- (void)getGroupSpecificationFromServerWithId:(NSString *_Nonnull)aGroupId
426 fetchMembers:(BOOL)fetchMembers
427 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
428
460- (EMCursorResult<NSString*> *)getGroupMemberListFromServerWithId:(NSString *_Nonnull)aGroupId
461 cursor:(NSString *_Nullable)aCursor
462 pageSize:(NSInteger)aPageSize
463 error:(EMError **_Nullable)pError;
464
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;
492
522- (NSArray<NSString *> * _Nullable)getGroupBlacklistFromServerWithId:(NSString *_Nonnull)aGroupId
523 pageNumber:(NSInteger)aPageNum
524 pageSize:(NSInteger)aPageSize
525 error:(EMError **_Nullable)pError;
526
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;
554
581- (NSArray<NSString *> * _Nullable)getGroupMuteListFromServerWithId:(NSString *_Nonnull)aGroupId
582 pageNumber:(NSInteger)aPageNum
583 pageSize:(NSInteger)aPageSize
584 error:(EMError **_Nullable)pError;
585
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;
613
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;
641
663- (NSArray<EMGroupSharedFile *> *_Nullable)getGroupFileListWithId:(NSString *_Nonnull)aGroupId
664 pageNumber:(NSInteger)aPageNum
665 pageSize:(NSInteger)aPageSize
666 error:(EMError **_Nullable)pError;
667
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;
693
694
714- (NSArray *)getGroupWhiteListFromServerWithId:(NSString *_Nonnull)aGroupId
715 error:(EMError **_Nullable)pError;
716
717
733- (void)getGroupWhiteListFromServerWithId:(NSString *_Nonnull)aGroupId
734 completion:(void (^_Nullable)(NSArray<NSString *> * _Nullable aList, EMError *_Nullable aError))aCompletionBlock;
735
755- (BOOL)isMemberInWhiteListFromServerWithGroupId:(NSString *_Nonnull)aGroupId
756 error:(EMError **_Nullable)pError;
757
773- (void)isMemberInWhiteListFromServerWithGroupId:(NSString *_Nonnull)aGroupId
774 completion:(void (^_Nullable)(BOOL inWhiteList, EMError *_Nullable aError))aCompletionBlock;
775
793- (NSString *_Nullable)getGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
794 error:(EMError **_Nullable)pError;
795
811- (void)isMemberInMuteListFromServerWithGroupId:(NSString * _Nonnull)aGroupId
812 completion:(void (^ _Nonnull)(BOOL inMuteList, EMError * _Nullable aError))aCompletionBlock;
813
829- (void)getGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
830 completion:(void (^_Nullable)(NSString *aAnnouncement, EMError *_Nullable aError))aCompletionBlock;
831
832#pragma mark - Edit Group
833
859- (EMGroup * _Nullable)addOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
860 toGroup:(NSString *_Nonnull)aGroupId
861 welcomeMessage:(NSString *_Nullable)aWelcomeMessage
862 error:(EMError **_Nullable)pError;
863
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;
887
915- (EMGroup * _Nullable)removeOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
916 fromGroup:(NSString *_Nonnull)aGroupId
917 error:(EMError **_Nullable)pError;
918
940- (void)removeMembers:(NSArray<NSString *> * _Nonnull)aUsers
941 fromGroup:(NSString *_Nonnull)aGroupId
942 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
943
971- (EMGroup * _Nullable)blockOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
972 fromGroup:(NSString *_Nonnull)aGroupId
973 error:(EMError **_Nullable)pError;
974
996- (void)blockMembers:(NSArray<NSString *> * _Nonnull)aMembers
997 fromGroup:(NSString *_Nonnull)aGroupId
998 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
999
1000
1028- (EMGroup * _Nullable)unblockOccupants:(NSArray<NSString *> * _Nonnull)aOccupants
1029 forGroup:(NSString *_Nonnull)aGroupId
1030 error:(EMError **_Nullable)pError;
1031
1053- (void)unblockMembers:(NSArray<NSString *> * _Nonnull)aMembers
1054 fromGroup:(NSString *_Nonnull)aGroupId
1055 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1056
1084- (EMGroup * _Nullable)changeGroupSubject:(NSString *_Nullable)aSubject
1085 forGroup:(NSString *_Nonnull)aGroupId
1086 error:(EMError **_Nullable)pError;
1087
1109- (void)updateGroupSubject:(NSString *_Nullable)aSubject
1110 forGroup:(NSString *_Nonnull)aGroupId
1111 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1112
1140- (EMGroup * _Nullable)changeDescription:(NSString *_Nullable)aDescription
1141 forGroup:(NSString *_Nonnull)aGroupId
1142 error:(EMError **_Nullable)pError;
1143
1165- (void)updateDescription:(NSString *_Nullable)aDescription
1166 forGroup:(NSString *_Nonnull)aGroupId
1167 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1168
1188- (void)leaveGroup:(NSString *_Nonnull)aGroupId
1189 error:(EMError **_Nullable)pError;
1190
1206- (void)leaveGroup:(NSString *_Nonnull)aGroupId
1207 completion:(void (^_Nullable)(EMError *_Nullable aError))aCompletionBlock;
1208
1232- (EMError *)destroyGroup:(NSString *_Nonnull)aGroupId;
1233
1252- (void)destroyGroup:(NSString *_Nonnull)aGroupId
1253 finishCompletion:(void (^_Nullable)(EMError *_Nullable aError))aCompletionBlock;
1254
1255
1279- (EMGroup * _Nullable)blockGroup:(NSString *_Nonnull)aGroupId
1280 error:(EMError **_Nullable)pError;
1281
1298- (void)blockGroup:(NSString *_Nonnull)aGroupId
1299 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1300
1322- (EMGroup * _Nullable)unblockGroup:(NSString *_Nonnull)aGroupId
1323 error:(EMError **_Nullable)pError;
1324
1339- (void)unblockGroup:(NSString *_Nonnull)aGroupId
1340 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1341
1342
1370- (EMGroup * _Nullable)updateGroupOwner:(NSString *_Nonnull)aGroupId
1371 newOwner:(NSString *_Nonnull)aNewOwner
1372 error:(EMError **_Nullable)pError;
1373
1395- (void)updateGroupOwner:(NSString *_Nonnull)aGroupId
1396 newOwner:(NSString *_Nonnull)aNewOwner
1397 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1398
1424- (EMGroup * _Nullable)addAdmin:(NSString *_Nonnull)aAdmin
1425 toGroup:(NSString *_Nonnull)aGroupId
1426 error:(EMError **_Nullable)pError;
1427
1453- (void)addAdmin:(NSString *_Nonnull)aAdmin
1454 toGroup:(NSString *_Nonnull)aGroupId
1455 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1456
1484- (EMGroup * _Nullable)removeAdmin:(NSString *_Nonnull)aAdmin
1485 fromGroup:(NSString *_Nonnull)aGroupId
1486 error:(EMError **_Nullable)pError;
1487
1513- (void)removeAdmin:(NSString *_Nonnull)aAdmin
1514 fromGroup:(NSString *_Nonnull)aGroupId
1515 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1516
1517
1547- (EMGroup * _Nullable)muteMembers:(NSArray<NSString *> * _Nonnull)aMuteMembers
1548 muteMilliseconds:(NSInteger)aMuteMilliseconds
1549 fromGroup:(NSString *_Nonnull)aGroupId
1550 error:(EMError **_Nullable)pError;
1551
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;
1582
1610- (EMGroup * _Nullable)unmuteMembers:(NSArray<NSString *> * _Nonnull)aMembers
1611 fromGroup:(NSString *_Nonnull)aGroupId
1612 error:(EMError **_Nullable)pError;
1613
1638- (void)unmuteMembers:(NSArray<NSString *> * _Nonnull)aMembers
1639 fromGroup:(NSString *_Nonnull)aGroupId
1640 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1641
1667- (EMGroup * _Nullable)muteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1668 error:(EMError **_Nullable)pError;
1669
1692- (void)muteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1693 completion:(void(^)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1694
1695
1721- (EMGroup * _Nullable)unmuteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1722 error:(EMError **_Nullable)pError;
1723
1724
1747- (void)unmuteAllMembersFromGroup:(NSString *_Nonnull)aGroupId
1748 completion:(void(^)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1749
1750
1778- (EMGroup * _Nullable)addWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1779 fromGroup:(NSString *_Nonnull)aGroupId
1780 error:(EMError **_Nullable)pError;
1781
1804- (void)addWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1805 fromGroup:(NSString *_Nonnull)aGroupId
1806 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1807
1808
1836- (EMGroup * _Nullable)removeWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1837 fromGroup:(NSString *_Nonnull)aGroupId
1838 error:(EMError **_Nullable)pError;
1839
1864- (void)removeWhiteListMembers:(NSArray<NSString *> * _Nonnull)aMembers
1865 fromGroup:(NSString *_Nonnull)aGroupId
1866 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1867
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;
1891
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;
1916
1938- (EMGroup * _Nullable)removeGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1939 sharedFileId:(NSString *_Nonnull)aSharedFileId
1940 error:(EMError **_Nullable)pError;
1941
1957- (void)removeGroupSharedFileWithId:(NSString *_Nonnull)aGroupId
1958 sharedFileId:(NSString *_Nonnull)aSharedFileId
1959 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
1960
1986- (EMGroup * _Nullable)updateGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
1987 announcement:(NSString *_Nullable)aAnnouncement
1988 error:(EMError **_Nullable)pError;
1989
2014- (void)updateGroupAnnouncementWithId:(NSString *_Nonnull)aGroupId
2015 announcement:(NSString *_Nullable)aAnnouncement
2016 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
2017
2043- (EMGroup * _Nullable)updateGroupExtWithId:(NSString *_Nonnull)aGroupId
2044 ext:(NSString *_Nullable)aExt
2045 error:(EMError **_Nullable)pError;
2046
2067- (void)updateGroupExtWithId:(NSString *_Nonnull)aGroupId
2068 ext:(NSString *_Nullable)aExt
2069 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
2070
2071#pragma mark - Edit Public Group
2072
2094- (EMGroup * _Nullable)joinPublicGroup:(NSString *_Nonnull)aGroupId
2095 error:(EMError **_Nullable)pError;
2096
2111- (void)joinPublicGroup:(NSString *_Nonnull)aGroupId
2112 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
2113
2137- (EMGroup * _Nullable)applyJoinPublicGroup:(NSString *_Nonnull)aGroupId
2138 message:(NSString *_Nullable)aMessage
2139 error:(EMError **_Nullable)pError;
2140
2158- (void)requestToJoinPublicGroup:(NSString *_Nonnull)aGroupId
2159 message:(NSString *_Nullable)aMessage
2160 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
2161
2162#pragma mark - Application
2163
2189- (EMError *)acceptJoinApplication:(NSString *_Nonnull)aGroupId
2190 applicant:(NSString *_Nonnull)aUsername;
2191
2217- (void)approveJoinGroupRequest:(NSString *_Nonnull)aGroupId
2218 sender:(NSString *_Nonnull)aUsername
2219 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
2220
2248- (EMError *)declineJoinApplication:(NSString *_Nonnull)aGroupId
2249 applicant:(NSString *_Nonnull)aUsername
2250 reason:(NSString *_Nullable)aReason;
2251
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;
2283
2307- (EMGroup * _Nullable)acceptInvitationFromGroup:(NSString *_Nonnull)aGroupId
2308 inviter:(NSString *_Nonnull)aUsername
2309 error:(EMError **_Nullable)pError;
2310
2333- (void)acceptInvitationFromGroup:(NSString *_Nonnull)aGroupId
2334 inviter:(NSString *_Nonnull)aUsername
2335 completion:(void (^_Nullable)(EMGroup *_Nullable aGroup, EMError *_Nullable aError))aCompletionBlock;
2336
2360- (EMError *)declineInvitationFromGroup:(NSString *_Nonnull)aGroupId
2361 inviter:(NSString *_Nonnull)aUsername
2362 reason:(NSString *_Nullable)aReason;
2363
2387- (void)declineGroupInvitation:(NSString *_Nonnull)aGroupId
2388 inviter:(NSString *_Nonnull)aInviter
2389 reason:(NSString *_Nullable)aReason
2390 completion:(void (^_Nullable)(EMError *_Nullable aError))aCompletionBlock;
2391
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;
2435
2436#pragma mark - Apns
2437
2463- (EMError *)ignoreGroupPush:(NSString *)aGroupId
2464 ignore:(BOOL)aIsIgnore EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -IEMPushManager::updatePushServiceForGroups:disablePush:");
2465
2466
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:");
2491
2492
2518- (EMError *)ignoreGroupsPush:(NSArray *)aGroupIDs
2519 ignore:(BOOL)aIsIgnore EM_DEPRECATED_IOS(3_3_2, 3_8_3, "Use -IEMPushManager::updatePushServiceForGroups:disablePush:");
2520
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:");
2545
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;
2565
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;
2613
2614#pragma mark - EM_DEPRECATED_IOS 3.8.8
2615
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");
2645
2646@end
Definition: EMCursorResult.h:27
Definition: EMError.h:27
Definition: EMGroup.h:43
Definition: EMGroupOptions.h:42
Definition: EMGroupSharedFile.h:24
Definition: EMGroupManagerDelegate.h:40
Definition: IEMGroupManager.h:31
NSArray< EMGroup * > *_Nullable getJoinedGroups()
Definition: IEMPushManager.h:31