mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-25 06:00:44 +00:00
Fixes in CallbackQuery waiters
This commit is contained in:
1 parent
f6a0b1a19d
commit
ceba86abcb
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ suspend inline fun <reified O> BehaviourContext.waitCallbackQueries(
|
||||
initRequest,
|
||||
errorFactory
|
||||
) {
|
||||
(it.callbackQueryUpdateOrNull() ?.data as O).let(::listOfNotNull)
|
||||
(it.callbackQueryUpdateOrNull() ?.data as? O).let(::listOfNotNull)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user