upgrade_basic_group_chat_to_supergroup_chat


Description:

public async Chat upgrade_basic_group_chat_to_supergroup_chat (int64 chat_id) throws TDLibError

Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires owner privileges. Deactivates the original basic group

Parameters:

chat_id

Identifier of the chat to upgrade