Package dev. inmo. tgbotapi. bot. Ktor
Types
KtorCallFactory
Link copied to clipboard
interface KtorCallFactory
Content copied to clipboard
KtorRequestsExecutor
Link copied to clipboard
class KtorRequestsExecutor(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, client: HttpClient, callsFactories: List<KtorCallFactory>, excludeDefaultFactories: Boolean, requestsLimiter: RequestLimiter, jsonFormatter: Json) : BaseRequestsExecutor
Content copied to clipboard
KtorRequestsExecutorBuilder
Link copied to clipboard
class KtorRequestsExecutorBuilder(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, crossinline builder: KtorRequestsExecutorBuilder.() -> Unit = {}): TelegramBot
Content copied to clipboard
inline fun telegramBot(token: String, apiUrl: String = telegramBotAPIDefaultUrl, crossinline builder: KtorRequestsExecutorBuilder.() -> Unit = {}): TelegramBot
Content copied to clipboard
Shortcut for telegramBot