telegram-webapps-types-new
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -250,2 +250,21 @@ export declare namespace TelegramWebApps { | ||
close(): void; | ||
/** | ||
* True, if vertical swipes to close or minimize the Mini App are enabled. | ||
* | ||
* False, if vertical swipes to close or minimize the Mini App are disabled. | ||
* | ||
* In any case, the user will still be able to minimize and close the Mini App by swiping the Mini App's header. | ||
*/ | ||
isVerticalSwipesEnabled: boolean; | ||
/** | ||
* Bot API 7.7+ | ||
* A method that enables vertical swipes to close or minimize the Mini App. | ||
* For user convenience, it is recommended to always enable swipes unless they conflict with the Mini App's own gestures. | ||
*/ | ||
enableVerticalSwipes(): void; | ||
/** | ||
* Bot API 7.7+ A method that disables vertical swipes to close or minimize the Mini App. | ||
* This method is useful if your Mini App uses swipe gestures that may conflict with the gestures for minimizing and closing the app. | ||
*/ | ||
disableVerticalSwipes(): void; | ||
} | ||
@@ -252,0 +271,0 @@ |
{ | ||
"name": "telegram-webapps-types-new", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "TypeScript typings for Telegram Web Apps for Bots. See https://core.telegram.org/bots/webapps", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38300
799