import { ChatUnion, ErrorUnion } from '../outputs'; /** * Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo * and messageChatUpgradeFrom. Deactivates the original basic group * @param {Object} params * @param {number} [params.chatId] - Identifier of the chat to upgrade * @param {Object} state * @returns {ChatUnion | ErrorUnion} */ export declare type UpgradeBasicGroupChatToSupergroupChatMethod = (params: UpgradeBasicGroupChatToSupergroupChatParams, state?: Record) => Promise; export interface UpgradeBasicGroupChatToSupergroupChatParams { /** Identifier of the chat to upgrade */ chatId?: number; }