1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-15 13:19:30 +00:00

upgrade onRequestResultPresented in middlewares

This commit is contained in:
2024-10-30 13:53:36 +06:00
parent dccd15a5e9
commit e5bffa7c51
3 changed files with 4 additions and 3 deletions

View File

@@ -6,6 +6,7 @@
* Add default middleware `ExceptionsThrottlerTelegramBotMiddleware`
* Make `TelegramBotMiddlewaresPipelinesHandler` to be default `TelegramBotPipelinesHandler`
* Make `DefaultKtorRequestsExecutor` now uses `runCatching` instead of `runCatchingSafely`
* `onRequestResultPresented` lambda now accepts non-nullable `result`
## 18.2.2