# dev.inmo.tgbotapi.bot.ktor

docs

# Package dev.inmo.tgbotapi.bot.ktor

## Types

KtorCallFactory
Link copied to clipboard
interface KtorCallFactory
Content copied to clipboard
KtorPipelineStepsHolder
Link copied to clipboard
interface KtorPipelineStepsHolder
Content copied to clipboard
KtorRequestsExecutor
Link copied to clipboard
class KtorRequestsExecutor ( telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper , client: HttpClient = HttpClient(), callsFactories: List < KtorCallFactory > = emptyList(), excludeDefaultFactories: Boolean = false, requestsLimiter: RequestLimiter = ExceptionsOnlyLimiter(), jsonFormatter: Json = nonstrictJsonFormat, pipelineStepsHolder: KtorPipelineStepsHolder = KtorPipelineStepsHolder) : BaseRequestsExecutor
Content copied to clipboard
KtorRequestsExecutorBuilder
Link copied to clipboard
class KtorRequestsExecutorBuilder (var telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper )
Content copied to clipboard

## Functions

createTelegramBotDefaultKtorCallRequestsFactories
Link copied to clipboard
fun createTelegramBotDefaultKtorCallRequestsFactories (): List < KtorCallFactory >
Content copied to clipboard
telegramBot
Link copied to clipboard
inline fun telegramBot (telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper , builder: KtorRequestsExecutorBuilder .() -> Unit = {}): TelegramBot
Content copied to clipboard
inline fun telegramBot ( token: String , apiUrl: String = telegramBotAPIDefaultUrl, testServer: Boolean = false, builder: KtorRequestsExecutorBuilder .() -> Unit = {}): TelegramBot
Content copied to clipboard

Shortcut for telegramBot