migrate_chat()

async Client.migrate_chat()

Upgrade a basic group to a supergroup.

Usable by Users Bots
Parameters:

chat_id (int) – The basic group chat ID to migrate.

Returns:

Updates – The updates containing the new supergroup info.

Example

await app.migrate_chat(-100123456)