mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-11-27 05:43:14 +00:00
update examples for ktgbotapi 38.0.0
This commit is contained in:
1 parent
d0da6c851b
commit
97b4391495
86 files changed
+888
-370
No files matched your search
+1
-5
@@ -43,7 +43,7 @@ chat and client that support them.
|
||||
|
||||
## Run
|
||||
|
||||
The intended command from the repository root is:
|
||||
Run from the repository root:
|
||||
|
||||
```bash
|
||||
./gradlew :PollsBot:run --args="BOT_TOKEN"
|
||||
@@ -51,7 +51,3 @@ The intended command from the repository root is:
|
||||
|
||||
The first argument is the required token. An optional exact `debug` argument in any
|
||||
later position enables formatted logging; other arguments are ignored.
|
||||
|
||||
Known issue: `build.gradle` currently names `HelloBotKt` as the main class, while
|
||||
this source's entry point is `PollsBotKt`; the `run` task cannot start until that
|
||||
Gradle setting is corrected.
|
||||
@@ -11,7 +11,7 @@ buildscript {
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'application'
|
||||
|
||||
mainClassName="HelloBotKt"
|
||||
application.mainClass = "PollsBotKt"
|
||||
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in new issue
Block a user