unban_chat_member
Unban a previously banned user in a Telegram chat. Specify user_id and optionally chat_id or use default log group.
Instructions
Unban a previously banned user in a chat. If chat_id is omitted, targets the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| user_id | Yes | User ID to unban | |
| only_if_banned | No | Only unban if the user is currently banned |