mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-28 23:42:58 +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
@@ -2,6 +2,9 @@
|
||||
|
||||
## 4.1.2
|
||||
|
||||
* `BehaviourBuilder`:
|
||||
* Fixes in `CallbackQuery` waiters
|
||||
|
||||
## 4.1.1
|
||||
|
||||
* `Core`:
|
||||
|
||||
+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