upgrade_basic_group_chat_to_supergroup_chat

Function upgrade_basic_group_chat_to_supergroup_chat 

Source
pub async fn upgrade_basic_group_chat_to_supergroup_chat(
    chat_id: i64,
    client_id: i32,
) -> Result<Chat, Error>
Expand description

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

ยงArguments

  • chat_id - Identifier of the chat to upgrade
  • client_id - The client id to send the request to