mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-05-06 00:20:03 +00:00
Compare commits
5 Commits
0.38.12
...
b6606852fa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6606852fa | ||
| 8ec282e3d5 | |||
|
|
e8433cd8ac | ||
| 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 -> {
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ kotlin.code.style=official
|
|||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
|
||||||
|
|
||||||
kotlin_version=1.6.10
|
kotlin_version=1.6.21
|
||||||
telegram_bot_api_version=0.38.12
|
telegram_bot_api_version=0.38.15
|
||||||
micro_utils_version=0.9.19
|
micro_utils_version=0.9.20
|
||||||
|
|||||||
Reference in New Issue
Block a user