Skip to main content

getUsersInGroup

Blank!!! Need Update

Feature Introduction

Description

Leave the group.

Note

(1) The group owner can leave the group only after transferring the ownership.

Related Callbacks: onJoinedGroupDeleted onGroupMemberDeleted

Function Prototype


- (void)quitGroup:(NSString *)groupID
onSuccess:(nullable OIMSuccessCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

Parameter NameParameter TypeRequiredDescription
groupIDNSStringYesGroup ID

Return Results

Parameter NameParameter TypeDescription
onSuccessOIMSuccessCallbackSuccess return
onFailureOIMFailureCallbackFailure return

Code Example


[OIMManager.manager quitGroup:@""
onSuccess:^(NSString * _Nullable data) {
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
}];