1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

Merge pull request #685 from InsanusMokrassar/4.1.2

4.1.2
This commit is contained in:
InsanusMokrassar 2022-11-17 12:55:37 +06:00 committed by GitHub
commit dbadcb3f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,12 @@
# TelegramBotAPI changelog # TelegramBotAPI changelog
## 4.1.2
* `Versions`:
* `MicroUtils`: `0.14.1` -> `0.14.2`
* `BehaviourBuilder`:
* Fixes in `CallbackQuery` waiters
## 4.1.1 ## 4.1.1
* `Core`: * `Core`:

View File

@ -6,4 +6,4 @@ kotlin.incremental=true
kotlin.incremental.js=true kotlin.incremental.js=true
library_group=dev.inmo library_group=dev.inmo
library_version=4.1.1 library_version=4.1.2

View File

@ -13,7 +13,7 @@ ktor = "2.1.3"
ksp = "1.7.21-1.0.8" ksp = "1.7.21-1.0.8"
kotlin-poet = "1.12.0" kotlin-poet = "1.12.0"
microutils = "0.14.1" microutils = "0.14.2"
github-release-plugin = "2.4.1" github-release-plugin = "2.4.1"
dokka = "1.7.20" dokka = "1.7.20"

View File

@ -20,7 +20,7 @@ suspend inline fun <reified O> BehaviourContext.waitCallbackQueries(
initRequest, initRequest,
errorFactory errorFactory
) { ) {
(it.callbackQueryUpdateOrNull() ?.data as O).let(::listOfNotNull) (it.callbackQueryUpdateOrNull() ?.data as? O).let(::listOfNotNull)
} }