ban_member
Ban a user from a Telegram chat by user ID, with optional chat specification.
Instructions
Ban a user from a chat.
Args: user_id: User ID to ban chat_id: Chat ID or @channel_username (uses TELEGRAM_CHAT_ID if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| chat_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |