7.10.0 • Published 3 months ago

telegram-webapps v7.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months 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

3 months ago

7.8.0

4 months ago

7.7.0

5 months ago

7.6.0

5 months ago

7.2.1

5 months ago

7.2.0

8 months ago

7.0.0

10 months ago

6.9.0

1 year ago

0.0.5

1 year ago

0.0.6

1 year ago

0.0.3

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago