mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
This update significantly refactors UserContextMiddleware to leverage a new class, EventContext. Instead of resolving event context as a tuple, it now produces an instance of EventContext. Additional adjustments include supporting a business connection ID for event context identification and facilitating backwards compatibility. Tests and other files were also updated accordingly for these changes. |
||
|---|---|---|
| .. | ||
| test_event | ||
| test_middlewares | ||
| __init__.py | ||
| test_dispatcher.py | ||
| test_router.py | ||