Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

telegram-webapps-types-new

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegram-webapps-types-new - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

19

dist/index.d.ts

@@ -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 @@

2

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc