mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-05-31 20:57:18 +00:00
Compare commits
2 Commits
0.38.12
...
222134836a
| Author | SHA1 | Date | |
|---|---|---|---|
| 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 {
|
when {
|
||||||
content is TextContent && content.parseCommandsWithParams().keys.contains("stop") -> StopState(it.context)
|
content is TextContent && content.parseCommandsWithParams().keys.contains("stop") -> StopState(it.context)
|
||||||
else -> {
|
else -> {
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ org.gradle.parallel=true
|
|||||||
|
|
||||||
|
|
||||||
kotlin_version=1.6.10
|
kotlin_version=1.6.10
|
||||||
telegram_bot_api_version=0.38.12
|
telegram_bot_api_version=0.38.13
|
||||||
micro_utils_version=0.9.19
|
micro_utils_version=0.9.20
|
||||||
|
|||||||
Reference in New Issue
Block a user