ban_chat_sender_chat
Ban a channel from sending messages in a Telegram supergroup. Provide the supergroup chat ID and the channel's sender chat ID to enforce moderation and stop unwanted posts.
Instructions
Ban a channel chat from sending messages in a supergroup.
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": {
"chat_id": "<chat_id>",
"sender_chat_id": "<sender_chat_id>"
},
"name": "ban_chat_sender_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID or @username | |
| sender_chat_id | Yes |