TelegramBotAPI-examples/WebApp
bpavuk 7964dc4eea code cleanup
optimized imports here and there, made CustomBot working as intended
2024-07-10 19:25:00 +03:00
..
src code cleanup 2024-07-10 19:25:00 +03:00
build.gradle add support of data checking in webapp 2022-05-17 18:58:43 +06:00
README.md complete sample with sticker set handler example 2023-03-11 21:39:08 +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"