unblock_user()¶
- Client.unblock_user(user_id: int | str, my_stories_from: bool = None) bool¶
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)