Revoke an invite link
revoke_invite_linkPermanently revoke a previously generated invite link to invalidate it, stopping anyone from using it to join your Telegram chat.
Instructions
Permanently revoke a previously generated invite link.
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": {
"peer": "<peer>",
"link": "<link>"
},
"name": "revoke_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The invite link URL (e.g. https://t.me/+abc...) | |
| peer | Yes | ||
| accountId | No |