mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-12-06 14:25:39 +00:00
Compare commits
4 Commits
0.38.16
...
dd3e2e9e60
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd3e2e9e60 | ||
| dd2c528006 | |||
| 1c16a9f868 | |||
| 00c3aba12b |
17
WebApp/README.md
Normal file
17
WebApp/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
|
||||
```kotlin
|
||||
./gradlew run --args="TOKEN WEB_APP_ADDRESS"
|
||||
```
|
||||
@@ -3,6 +3,6 @@ org.gradle.parallel=true
|
||||
|
||||
|
||||
kotlin_version=1.6.10
|
||||
telegram_bot_api_version=0.38.16
|
||||
micro_utils_version=0.9.24
|
||||
telegram_bot_api_version=0.38.17
|
||||
micro_utils_version=0.10.1
|
||||
ktor_version=1.6.8
|
||||
|
||||
Reference in New Issue
Block a user