Merge pull request #685 from InsanusMokrassar/4.1.2

4.1.2
This commit is contained in:
InsanusMokrassar authored and GitHub committed 2022-11-17 12:55:37 +06:00
commit dbadcb3f5a
4 files changed
+10 -3

No files matched your search

+7
View File
@@ -1,5 +1,12 @@
# TelegramBotAPI changelog
## 4.1.2
* `Versions`:
* `MicroUtils`: `0.14.1` -> `0.14.2`
* `BehaviourBuilder`:
* Fixes in `CallbackQuery` waiters
## 4.1.1
* `Core`:
+1 -1
View File
@@ -6,4 +6,4 @@ kotlin.incremental=true
kotlin.incremental.js=true
library_group=dev.inmo
library_version=4.1.1
library_version=4.1.2
+1 -1
View File
@@ -13,7 +13,7 @@ ktor = "2.1.3"
ksp = "1.7.21-1.0.8"
kotlin-poet = "1.12.0"
microutils = "0.14.1"
microutils = "0.14.2"
github-release-plugin = "2.4.1"
dokka = "1.7.20"
@@ -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)
}