telegram-ban-user
Ban a user from a Telegram supergroup or channel permanently by providing chat and user identifiers. Restrict access immediately until an unban is issued.
Instructions
Ban a user from a supergroup or channel (permanent until unbanned)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chatId": "<chatId>",
"userId": "<userId>"
},
"name": "telegram-ban-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID or username | |
| userId | Yes | User ID or username to ban |