TelegramBotAPI-examples/WebApp
2022-05-04 12:22:49 +06:00
..
src start migration onto 0.38.20 2022-05-04 12:22:49 +06:00
build.gradle update tgbotapi and add webapps example 2022-04-29 20:57:16 +06:00
README.md Create README.md 2022-04-30 08:47:35 +06:00

WebApp

Here you may find simple example of WebApp. For work of this example you will need one of two things:

  • Your own domain with SSL (letsencrypt is okay)
  • Test account in telegram

What is there in this module:

  • JVM part of this example is a server with simple static webapp sharing and bot which just gives the webapp button to open webapp
  • JS part is the WebApp with one button and reacting to chaged user theme and app viewport

How to run

./gradlew run --args="TOKEN WEB_APP_ADDRESS"