Companion

object Companion

Functions

Link copied to clipboard
@JvmName(name = "createByUrlsKeepers")
inline operator fun invoke(keepers: Iterable<TelegramAPIUrlsKeeper>, crossinline builder: KtorRequestsExecutorBuilder.(TelegramAPIUrlsKeeper) -> Unit = {}, noinline botSelector: suspend List<TelegramBot>.(currentBotIndex: Int, t: Throwable?) -> TelegramBot = { i, _ -> getOrElse(i + 1) { first() } }, noinline onClose: (List<TelegramBot>) -> Unit? = null): SimpleMultiServerRequestsExecutor
@JvmName(name = "createByTokensAndApiUrls")
inline operator fun invoke(tokens: Iterable<Pair<String, String>>, crossinline builder: KtorRequestsExecutorBuilder.(Pair<String, String>) -> Unit = {}, noinline botSelector: suspend List<TelegramBot>.(currentBotIndex: Int, t: Throwable?) -> TelegramBot = { i, _ -> getOrElse(i + 1) { first() } }, noinline onClose: (List<TelegramBot>) -> Unit? = null): SimpleMultiServerRequestsExecutor
@JvmName(name = "createByTokens")
inline operator fun invoke(tokens: Iterable<String>, crossinline builder: KtorRequestsExecutorBuilder.(String) -> Unit = {}, noinline botSelector: suspend List<TelegramBot>.(currentBotIndex: Int, t: Throwable?) -> TelegramBot = { i, _ -> getOrElse(i + 1) { first() } }, noinline onClose: (List<TelegramBot>) -> Unit? = null): SimpleMultiServerRequestsExecutor