Allows communication between your bot and the Web App built in Flutter displayed inside Telegram

0 0

tele_web_app

It enables communication between your bot and the Flutter-embedded Web App displayed inside Telegram by making use of interoperability between Dart and JavaScript.

🚧🚩This package is still under development, it is not recommended to use it in a production environment.

The package should only be used on the Web platform. This package makes use of the interoperability between Dart and JavaScript

Install

  1. Add the following lines to your project dependencies

    tele_web_app:
        git: https://github.com/yeikel16/tele_web_app.git
  2. Add to the index.html located in the web folder and put the telegram-web-app.js script in the <head> tag before any other scripts, using this code:

    <script src="https://telegram.org/js/telegram-web-app.js"></script>

GitHub

View Github

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Deja una respuesta

Entrada anterior A Flutter Application to search for recipes/food menus
Entrada siguiente A Flutter application designed to unscramble english letters