tg_invite
Invite people to a Telegram chat and retrieve its invite link, with options to revoke and generate a new one.
Instructions
Invite people to a chat and/or get its invite link.
Args: chat: the group or channel. users: who to add. link: also return the primary invite link. revoke: revoke the old link and issue a new one.
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": "tg_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| link | No | ||
| users | No | ||
| revoke | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |