diff --git a/CHANGELOG.md b/CHANGELOG.md index afdf6f6829..6ec5dae49a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/BotExtensions.kt b/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/BotExtensions.kt index ef586bcae8..2342fac9f9 100644 --- a/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/BotExtensions.kt +++ b/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/BotExtensions.kt @@ -12,7 +12,7 @@ import io.ktor.client.engine.HttpClientEngine */ fun telegramBot( urlsKeeper: TelegramAPIUrlsKeeper, - client: HttpClient + client: HttpClient = HttpClient() ): RequestsExecutor = KtorRequestsExecutor( urlsKeeper, client