Create an invite link
create_invite_linkGenerate a Telegram invite link with optional expiration date, usage limit, and admin approval requirement for new members.
Instructions
Generate a new invite link with optional expiry, usage cap, and join-request gate.
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>"
},
"name": "create_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| title | No | ||
| accountId | No | ||
| expireDate | No | Unix seconds — link expires at this time | |
| usageLimit | No | ||
| requestNeeded | No | Require admin approval to join |