mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-25 11:38:45 +00:00
new telegramBot
This commit is contained in:
parent
63b2bd61b5
commit
1758d80020
@ -51,6 +51,8 @@
|
|||||||
|
|
||||||
### 0.27.10
|
### 0.27.10
|
||||||
|
|
||||||
|
* `TelegramBotAPI-extensions-api`:
|
||||||
|
* Function `telegramBot(TelegramAPIUrlsKeeper)` was added
|
||||||
* `TelegramBotAPI-extensions-utils`:
|
* `TelegramBotAPI-extensions-utils`:
|
||||||
* Extension `Route#includeWebhookHandlingInRouteWithFlows` was added
|
* Extension `Route#includeWebhookHandlingInRouteWithFlows` was added
|
||||||
* A lot of extensions like `FlowsUpdatesFilter#textMessages` were added:
|
* A lot of extensions like `FlowsUpdatesFilter#textMessages` were added:
|
||||||
|
@ -12,7 +12,7 @@ import io.ktor.client.engine.HttpClientEngine
|
|||||||
*/
|
*/
|
||||||
fun telegramBot(
|
fun telegramBot(
|
||||||
urlsKeeper: TelegramAPIUrlsKeeper,
|
urlsKeeper: TelegramAPIUrlsKeeper,
|
||||||
client: HttpClient
|
client: HttpClient = HttpClient()
|
||||||
): RequestsExecutor = KtorRequestsExecutor(
|
): RequestsExecutor = KtorRequestsExecutor(
|
||||||
urlsKeeper,
|
urlsKeeper,
|
||||||
client
|
client
|
||||||
|
Loading…
Reference in New Issue
Block a user