Interface UpgradeBasicGroupChatToSupergroupChat

Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires owner privileges. Deactivates the original basic group. Request type for Tdjson#upgradeBasicGroupChatToSupergroupChat.

interface UpgradeBasicGroupChatToSupergroupChat {
    @type: "upgradeBasicGroupChatToSupergroupChat";
    chat_id: number;
}

Properties

Properties

@type: "upgradeBasicGroupChatToSupergroupChat"
chat_id: number

Identifier of the chat to upgrade.