mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-11-02 09:43:14 +00:00
update up to 0.38.13
This commit is contained in:
1 parent
c18e02dcb3
commit
222134836a
2 files changed
+5
-3
No files matched your search
@@ -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 -> {
|
||||
|
||||
Reference in new issue
Block a user