Migrate a basic group to a supergroup
migrate_chatMigrates a basic Telegram group chat to a supergroup, returning the new supergroup id in the resulting updates.
Instructions
One-way migration. Returns the new supergroup id in the resulting updates.
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": {
"chatId": "<chatId>"
},
"name": "migrate_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Basic group chat id | |
| accountId | No |