messages.migrateChat
Turn a basic group into a supergroup
Turn a [basic group into a supergroup](https://core.telegram.org/api/channel.md#migration)
| Name | Type | Required | Description |
|---|---|---|---|
chat_id | long | Yes | [Basic group](https://core.telegram.org/api/channel.md#basic-groups) to migrate |
Replies
Updates
MTProto RPC
- 400 · CHANNELS_TOO_MUCH — You have joined too many channels/supergroups.
- 403 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · CHAT_ID_INVALID — The provided chat id is invalid.
- 500 · CHAT_INVALID — Invalid chat.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.