Package dev.inmo.tgbotapi.bot.Ktor

Types

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

Functions

Link copied to clipboard
inline fun telegramBot(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, builder: KtorRequestsExecutorBuilder.() -> Unit = {}): TelegramBot

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

Shortcut for telegramBot