skip to Main Content

I am trying to use a feature of telegram-web-app.js, which is available in version 7.7.

https://core.telegram.org/bots/webapps#initializing-mini-apps

When adding the script in my app, I get version 7.4/7.6. The version of the script is set by the URL hash which Telegram adds to our app’s URL, when opening it in its context. And it explicitly adds tgWebAppVersion=7.4 for web Telegram and 7.6 for Telegram App (both Windows and iOS).

Does somebody know how to raise this number? I asked Google and ChatGPT with no luck so far.

Thanks!

2

Answers


  1. Chosen as BEST ANSWER

    Finally, it appeared that the next version of the Telegram app started using the newest version (7.8). So I could conclude that we have no control over it.


  2. you may need download the js file, then replace the 7.7 limitation in source code. Load this file from you project assets folder or OSS, then you got the ability of 7.7.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search