create_chat_invite_link
Generate a Telegram chat invite link with customizable settings like name, expiration, member limit, and join request approval. Optionally target a default log group.
Instructions
Create a new invite link for a chat. If chat_id is omitted, targets the default log group.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_chat_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Invite link name (up to 32 chars) | |
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| expire_date | No | Unix timestamp when the link expires | |
| member_limit | No | Max users who can join (1-99999) | |
| creates_join_request | No | Require join request approval |