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
@@ -30,7 +30,6 @@ The required first argument is the bot token. Additional arguments are ignored.
|
||||
./gradlew :StickerInfoBot:jvm_launcher:run --args="<BOT_TOKEN>"
|
||||
```
|
||||
|
||||
> **Known issue:** `jvm_launcher/build.gradle` declares `StickerInfoBotJvmKt`, while the current launcher filename produces `StickerInfoBotBotJvmKt`. The `run` task cannot start until that main-class setting is corrected; it is left unchanged by this documentation-only update.
|
||||
|
||||
The JVM launcher prints the startup `getMe` result, raw updates, and errors to standard output.
|
||||
|
||||
|
||||
@@ -15,8 +15,7 @@ plugins {
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
// js(LEGACY) {
|
||||
js(IR) {
|
||||
js {
|
||||
browser()
|
||||
binaries.executable()
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ buildscript {
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'application'
|
||||
|
||||
mainClassName="StickerInfoBotJvmKt"
|
||||
application.mainClass = "StickerInfoBotBotJvmKt"
|
||||
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in new issue
Block a user