messages.migrateChat

Turn a basic group into a supergroup

 Method schema is available as of layer 133. Switch »

Parameters

Name Type Description
chat_id long Basic group to migrate

Result

Updates

Possible errors

Code Type Description
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.

Related pages

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

Go up