docs

# Companion

object Companion
Content copied to clipboard

## Functions

invoke
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
Content copied to clipboard
@ 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
Content copied to clipboard
@ 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
Content copied to clipboard