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:
@@ -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
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user