1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-08 23:35:45 +00:00

BehaviourContext now is interface

This commit is contained in:
2021-06-28 10:29:45 +06:00
parent 77dff639f0
commit 21c5d42dc2
2 changed files with 44 additions and 8 deletions

View File

@@ -11,6 +11,8 @@
* All triggers (`on*` extensions) have been modified to work in parallel by default (new parameter
`performInParallel`, by default `true`)
* All behaviour builder extensions got new parameter `defaultExceptionsHandler`
* Class `BehaviourContext` was rewritten as an interface with default realization `DefaultBehaviourContext` and
factory `BehaviourContext(TelegramBot, CoroutineScope, FlowsUpdatesFilter)`
* `API`:
* All `reply` and subsequent extension have been replaced in send package
* `Bot API 5.3`: