unblock_user()#

Client.unblock_user()#

Unblock a user.

Usable by Users Bots
Parameters:

user_id (int | str) – Unique identifier (int) or username (str) of the target user. For you yourself you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).

Returns:

bool – True on success

Example

await app.unblock_user(user_id)