edit_chat_invite_link
Modify an existing chat invite link to update its name, expiration, member limit, or join request requirement.
Instructions
Edit an existing invite link for a chat. If chat_id is omitted, targets the default log group.
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": {
"invite_link": "<invite_link>"
},
"name": "edit_chat_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New invite link name | |
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| expire_date | No | Unix timestamp when the link expires | |
| invite_link | Yes | The invite link to edit | |
| member_limit | No | Max users who can join (1-99999) | |
| creates_join_request | No | Require join request approval |