@telegram-apps/sdk
Version:
TypeScript Source Development Kit for Telegram Mini Apps client application.
14 lines (13 loc) • 507 B
TypeScript
/**
* A method that expands the Mini App to the maximum available height. To find
* out if the Mini App is expanded to the maximum height, refer to the value of
* the `isExpanded`.
* @throws {FunctionNotAvailableError} The environment is unknown
* @throws {FunctionNotAvailableError} The SDK is not initialized
* @see isExpanded
* @example
* if (expand.isAvailable()) {
* expand();
* }
*/
export declare const expand: import('../../wrappers/wrapSafe.js').SafeWrapped<() => void, false, never>;