Skip to main content
Version: 5.9.6

UnblockUser

public void UnblockUser(string NickName);

Parameter​

ValueTypeDescription
NickNamestringNickname of the unblocked user

Description​

The blocked user is removed from the block list.

This method is provided only in a synchronous form.

Example​

string isUnblock = Backend.Chat.UnblockUser("Nickname");

if(isUnblock)
Debug.Log("Successfully unblocked.");
else
Debug.Log("The user does not exist in the block list.");

Return casess​

returnValue(bool)Description
trueWhen unblocked
falseWhen the corresponding nickname does not exist