Package-level declarations

Types

Link copied to clipboard
interface KtorCallFactory
Link copied to clipboard
Link copied to clipboard

Represents default BaseRequestsExecutor working on Ktor HttpClient

actual typealias KtorRequestsExecutor = <Error class: unknown class>
Link copied to clipboard
class KtorRequestsExecutorBuilder(var telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper)

Functions

Link copied to clipboard
fun KtorRequestsExecutor(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, client: HttpClient = HttpClient(), callsFactories: List<KtorCallFactory> = emptyList(), excludeDefaultFactories: Boolean = false, requestsLimiter: RequestLimiter = ExceptionsOnlyLimiter, jsonFormatter: Json = nonstrictJsonFormat, pipelineStepsHolder: KtorPipelineStepsHolder = KtorPipelineStepsHolder): KtorRequestsExecutor
Link copied to clipboard
inline fun telegramBot(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, builder: KtorRequestsExecutorBuilder.() -> Unit = {}): TelegramBot

inline fun telegramBot(token: String, apiUrl: String = telegramBotAPIDefaultUrl, testServer: Boolean = false, builder: KtorRequestsExecutorBuilder.() -> Unit = {}): TelegramBot

Shortcut for telegramBot