mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-09-08 17:59:17 +00:00
.github
FSMBot
FilesLoaderBot
ForwardInfoSenderBot
GetMeBot
HelloBot
KeyboardsBot
RandomFileSenderBot
ResenderBot
SlotMachineDetectorBot
WebApp
src
README.md
build.gradle
gradle
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
renovate.json
settings.gradle
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"