SDKsWASM
Add a user to the blacklist
Add a selected user to the current account’s blacklist.
await openimsdk.addBlack({ toUserID, ex });A successful Promise means that the request to add the user to the blacklist has completed. OnBlackAdded subsequently writes the blacklist record by userID.
Was this page helpful?