1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-03 15:19:30 +00:00

fix of build

This commit is contained in:
2025-06-13 14:05:56 +06:00
parent dd0de3b6d4
commit 88fc4fc444
4 changed files with 10 additions and 2 deletions

View File

@@ -241,6 +241,7 @@ public final class dev/inmo/tgbotapi/abstracts/types/WithReplyParameters$Default
public abstract class dev/inmo/tgbotapi/bot/BaseRequestsExecutor : dev/inmo/tgbotapi/bot/RequestsExecutor {
public fun <init> (Ldev/inmo/tgbotapi/utils/TelegramAPIUrlsKeeper;)V
public fun getLog ()Ldev/inmo/kslog/common/KSLog;
protected final fun getTelegramAPIUrlsKeeper ()Ldev/inmo/tgbotapi/utils/TelegramAPIUrlsKeeper;
}
@@ -249,6 +250,10 @@ public abstract interface class dev/inmo/tgbotapi/bot/RequestsExecutor : java/io
public abstract fun getLog ()Ldev/inmo/kslog/common/KSLog;
}
public final class dev/inmo/tgbotapi/bot/RequestsExecutor$DefaultImpls {
public static fun getLog (Ldev/inmo/tgbotapi/bot/RequestsExecutor;)Ldev/inmo/kslog/common/KSLog;
}
public abstract class dev/inmo/tgbotapi/bot/exceptions/BotException : java/io/IOException, kotlinx/coroutines/CopyableThrowable {
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Throwable;Lkotlin/jvm/internal/DefaultConstructorMarker;)V

View File

@@ -46,9 +46,10 @@ class MultipleClientKtorRequestsExecutor(
jsonFormatter: Json,
pipelineStepsHolder: TelegramBotPipelinesHandler,
requestExecutorsCount: Int,
override val Log: KSLog,
logger: KSLog,
clientFactory: () -> HttpClient,
) : BaseRequestsExecutor(telegramAPIUrlsKeeper) {
override val Log: KSLog? = logger
private val requestExecutors = (0 until requestExecutorsCount).map {
DefaultKtorRequestsExecutor(
telegramAPIUrlsKeeper,
@@ -58,7 +59,7 @@ class MultipleClientKtorRequestsExecutor(
requestsLimiter,
jsonFormatter,
pipelineStepsHolder,
Log,
logger,
Unit
)
}.toSet()