1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-02 22:59:48 +00:00

new telegramBot

This commit is contained in:
2020-08-10 13:38:19 +06:00
parent 63b2bd61b5
commit 1758d80020
2 changed files with 3 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ import io.ktor.client.engine.HttpClientEngine
*/
fun telegramBot(
urlsKeeper: TelegramAPIUrlsKeeper,
client: HttpClient
client: HttpClient = HttpClient()
): RequestsExecutor = KtorRequestsExecutor(
urlsKeeper,
client