mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-11-27 13:52:58 +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
@@ -39,7 +39,7 @@ No chat-administrator permission is requested by the code.
|
||||
|
||||
## Run
|
||||
|
||||
The intended command from the repository root is:
|
||||
Run from the repository root:
|
||||
|
||||
```bash
|
||||
./gradlew :ManagedBotsBot:run --args="BOT_TOKEN"
|
||||
@@ -47,7 +47,3 @@ The intended command from the repository root is:
|
||||
|
||||
The first argument is the required token. Optional exact flags may follow it in any
|
||||
order: `debug` enables formatted logging, and `testServer` uses Telegram's test API.
|
||||
|
||||
Known issue: `build.gradle` currently sets `mainClassName` to `CustomBotKt`, while
|
||||
this source's entry point is `ManagedBotsBotKt`; the `run` task cannot start until
|
||||
that Gradle setting is corrected.
|
||||
@@ -11,7 +11,7 @@ buildscript {
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'application'
|
||||
|
||||
mainClassName="CustomBotKt"
|
||||
application.mainClass = "ManagedBotsBotKt"
|
||||
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in new issue
Block a user