Export or revoke an invite link
telegram_export_invite_linkGet a Telegram chat invite link, or revoke it to kill the old link and return a new one, keeping the chat joinable.
Instructions
Get a chat's invite link, or revoke it (which kills the old link). Needs admin rights. revoke=true returns the newly issued link, so the chat stays joinable.
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": "<chat>"
},
"name": "telegram_export_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| revoke | No |