Browse SDKs · WASM
SDKsWASM

Remove a user from the blacklist

Remove a selected user from the current account’s blacklist.

Copy
await openimsdk.removeBlack(toUserID);

A successful Promise means that the request to remove the user from the blacklist has completed. OnBlackDeleted subsequently removes the record by userID.