mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-12-05 13:55:38 +00:00
Compare commits
3 Commits
0.38.12
...
4b611e6186
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b611e6186 | ||
| 222134836a | |||
| c18e02dcb3 |
@@ -26,7 +26,9 @@ suspend fun main(args: Array<String>) {
|
||||
}
|
||||
)
|
||||
|
||||
val content = waitContentMessage().first()
|
||||
val contentMessage = waitContentMessage().first()
|
||||
val content = contentMessage.content
|
||||
|
||||
when {
|
||||
content is TextContent && content.parseCommandsWithParams().keys.contains("stop") -> StopState(it.context)
|
||||
else -> {
|
||||
|
||||
@@ -2,6 +2,6 @@ kotlin.code.style=official
|
||||
org.gradle.parallel=true
|
||||
|
||||
|
||||
kotlin_version=1.6.10
|
||||
telegram_bot_api_version=0.38.12
|
||||
micro_utils_version=0.9.19
|
||||
kotlin_version=1.6.20
|
||||
telegram_bot_api_version=0.38.13
|
||||
micro_utils_version=0.9.20
|
||||
|
||||
Reference in New Issue
Block a user