7.10.0 • Published 2 years ago

telegram-webapps v7.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago


Usage

Instal

via npm :

npm install telegram-webapps --save-dev

via yarn :

yarn add -D telegram-webapps

via pnpm :

pnpm add -D telegram-webapps

Use typings

Include the types file inside your tsconfig.json file like this:

{
  "compilerOptions": {
    "types": [
+     "./node_modules/telegram-webapps"
    ]
  }
}

Use Telegram constant inside your client-side code to get WebApp object:

// informs the Telegram app that the Web App is ready to be displayed
Telegram.WebApp.ready()
7.10.0

2 years ago

7.8.0

2 years ago

7.7.0

2 years ago

7.6.0

2 years ago

7.2.1

2 years ago

7.2.0

2 years ago

7.0.0

2 years ago

6.9.0

2 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago