9#import <Foundation/Foundation.h>
17NS_ASSUME_NONNULL_BEGIN
21@protocol NIMSuperTeamManager <NSObject>
28- (nullable NSArray<
NIMTeam *> *)allMyTeams;
38- (nullable
NIMTeam *)teamById:(NSString *)teamId;
47- (BOOL)isMyTeam:(NSString *)teamId;
55- (void)quitTeam:(NSString *)teamId
66- (void)addUsers:(NSArray<NSString *> *)users
67 toTeam:(NSString *)teamId
68 postscript:(nullable NSString *)postscript
69 attach:(nullable NSString *)attach
80- (void)kickUsers:(NSArray<NSString *> *)users
81 fromTeam:(NSString *)teamId
91- (void)updateTeamName:(NSString *)teamName
92 teamId:(NSString *)teamId
102- (void)updateTeamAvatar:(NSString *)teamAvatarUrl
103 teamId:(NSString *)teamId
115 teamId:(NSString *)teamId
126 teamId:(NSString *)teamId
136- (void)updateTeamIntro:(NSString *)intro
137 teamId:(NSString *)teamId
148- (void)updateTeamAnnouncement:(NSString *)announcement
149 teamId:(NSString *)teamId
159- (void)updateTeamCustomInfo:(NSString *)info
160 teamId:(NSString *)teamId
171- (void)updateTeamInfos:(NSDictionary<NSNumber *,NSString *> *)values
172 teamId:(NSString *)teamId
182- (void)applyToTeam:(NSString *)teamId
183 message:(NSString *)message
194- (void)passApplyToTeam:(NSString *)teamId
195 userId:(NSString *)userId
206- (void)rejectApplyToTeam:(NSString *)teamId
207 userId:(NSString *)userId
208 rejectReason:(NSString*)rejectReason
219- (void)updateUserNick:(NSString *)userId
220 newNick:(NSString *)newNick
221 inTeam:(NSString *)teamId
231- (void)updateMyCustomInfo:(NSString *)newInfo
232 inTeam:(NSString *)teamId
242- (void)addManagersToTeam:(NSString *)teamId
243 users:(NSArray<NSString *> *)users
253- (void)removeManagersFromTeam:(NSString *)teamId
254 users:(NSArray<NSString *> *)users
265- (void)transferManagerWithTeam:(NSString *)teamId
266 newOwnerId:(NSString *)newOwnerId
267 isLeave:(BOOL)isLeave
277- (void)acceptInviteWithTeam:(NSString*)teamId
278 invitorId:(NSString*)invitorId
290- (void)rejectInviteWithTeam:(NSString*)teamId
291 invitorId:(NSString*)invitorId
292 rejectReason:(NSString*)rejectReason
303 inTeam:(NSString *)teamId
325- (void)updateMuteState:(BOOL)mute
326 userIds:(NSArray<NSString *> *)userIds
327 inTeam:(NSString *)teamId
338- (void)updateMuteState:(BOOL)mute
339 inTeam:(NSString *)teamId
351- (void)fetchTeamMembers:(NSString *)teamId
364- (void)fetchTeamMutedMembers:(NSString *)teamId
376- (void)getTeamMemberList:(NSString *)teamId
387- (void)fetchTeamInfo:(NSString *)teamId
400 inTeam:(NSString *)teamId;
409- (void)addTeamMembersFollow:(NSString *)teamId
410 accoutIds:(NSArray <NSString*>*)accoutIds
421- (void)removeTeamMembersFollow:(NSString *)teamId
422 accoutIds:(NSArray <NSString*>*)accoutIds
430- (void)addDelegate:(
id<NIMTeamManagerDelegate>)delegate;
437- (void)removeDelegate:(
id<NIMTeamManagerDelegate>)delegate;
NIMTeamBeInviteMode
Definition: NIMTeamDefs.h:72
void(^ NIMTeamHandler)(NSError *__nullable error)
Definition: NIMTeamDefs.h:199
NIMTeamNotifyState
Definition: NIMTeamDefs.h:160
void(^ NIMTeamFetchInfoHandler)(NSError *__nullable error, NIMTeam *__nullable team)
Definition: NIMTeamDefs.h:241
NIMTeamJoinMode
Definition: NIMTeamDefs.h:37
void(^ NIMTeamMemberSearchResultHandler)(NSError *__nullable error, NIMTeamMemberSearchResult *__nullable result)
Definition: NIMTeamDefs.h:233
void(^ NIMTeamApplyHandler)(NSError *__nullable error, NIMTeamApplyStatus applyStatus)
Definition: NIMTeamDefs.h:249
void(^ NIMTeamMemberHandler)(NSError *__nullable error, NSArray< NIMTeamMember * > *__nullable members)
Definition: NIMTeamDefs.h:224
Definition: NIMTeamFetchMemberOption.h:14
Definition: NIMTeamMember.h:17
Definition: NIMTeamMemberSearchOption.h:30