1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-10-27 10:10:24 +00:00

update dependencies and fix (?) build

This commit is contained in:
2025-10-20 22:44:16 +06:00
parent 8b08e11441
commit 1cff533265
2 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
[versions] [versions]
kotlin = "2.2.10" kotlin = "2.2.20"
kotlin-serialization = "1.9.0" kotlin-serialization = "1.9.0"
kotlin-coroutines = "1.10.2" kotlin-coroutines = "1.10.2"
@@ -8,13 +8,13 @@ javax-activation = "1.1.1"
korlibs = "5.4.0" korlibs = "5.4.0"
uuid = "0.8.4" uuid = "0.8.4"
ktor = "3.2.3" ktor = "3.3.1"
ksp = "2.2.10-2.0.2" ksp = "2.2.20-2.0.4"
kotlin-poet = "2.2.0" kotlin-poet = "2.2.0"
microutils = "0.26.3" microutils = "0.26.6"
kslog = "1.5.0" kslog = "1.5.1"
versions = "0.53.0" versions = "0.53.0"
@@ -22,7 +22,7 @@ github-release-plugin = "2.5.2"
dokka = "2.0.0" dokka = "2.0.0"
validator = "0.18.1" validator = "0.18.1"
nmcp = "1.1.0" nmcp = "1.2.0"
[libraries] [libraries]

View File

@@ -83,7 +83,7 @@ fun <BC : BehaviourContext, R, U : Update> CustomBehaviourContextAndTypeReceiver
*/ */
class DefaultCustomBehaviourContextAndTypeReceiver<BC : BehaviourContext, R, U : Update>( class DefaultCustomBehaviourContextAndTypeReceiver<BC : BehaviourContext, R, U : Update>(
private val wrapperReceiver: CustomBehaviourContextAndTypeReceiver<BC, R, U> private val wrapperReceiver: CustomBehaviourContextAndTypeReceiver<BC, R, U>
) : CustomBehaviourContextAndTypeReceiver<BC, R, U> { ) : suspend (BC, U) -> R {
private var botInfo: ExtendedBot? = null private var botInfo: ExtendedBot? = null
private val mutex = Mutex() private val mutex = Mutex()