Skip to main content

removeBlack

Feature Introduction

Description

Remove a user from your blacklist.

Note

Related Callback: onBlackDeleted

Function Prototype


- (void)removeFromBlackList:(NSString *)userID
onSuccess:(OIMSuccessCallback)onSuccess
onFailure:(OIMFailureCallback)onFailure;

Input Parameters

Parameter NameData TypeMandatoryDescription
userIDNSStringYesUser ID

Return Value

Parameter NameData TypeDescription
onSuccessOIMSuccessCallbackSuccess return
onFailureOIMFailureCallbackFailure return

Code Example


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