revoke_chat_invite_link
Revoke an invite link to prevent new members from joining via that link. Specify the invite link and optionally the chat ID.
Instructions
Revoke an invite link for a chat. If chat_id is omitted, targets the default log group.
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": {
"invite_link": "<invite_link>"
},
"name": "revoke_chat_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| invite_link | Yes | The invite link to revoke |