1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 00:03:48 +00:00

new telegramBot

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

View File

@ -51,6 +51,8 @@
### 0.27.10
* `TelegramBotAPI-extensions-api`:
* Function `telegramBot(TelegramAPIUrlsKeeper)` was added
* `TelegramBotAPI-extensions-utils`:
* Extension `Route#includeWebhookHandlingInRouteWithFlows` was added
* A lot of extensions like `FlowsUpdatesFilter#textMessages` were added:

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