List invite links
list_invite_linksFetch all invite links visible to the current user in a Telegram chat. Optionally filter by issuing admin, revoked links, or set a limit.
Instructions
List all invite links the current user can see in a chat.
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": "list_invite_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| limit | No | ||
| adminId | No | Filter by issuing admin | |
| revoked | No | List revoked links instead of active ones | |
| accountId | No |