mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
The bot client now supports the context manager protocol, providing automatic resource management. This enhancement helps to automatically close the session when leaving the context, which cleans up resources better. The documentation and tests have been updated accordingly to illustrate this new feature. Moreover, an example of usage without a dispatcher has been provided to clarify its use in simple cases. |
||
|---|---|---|
| .. | ||
| data | ||
| multi_file_bot | ||
| web_app | ||
| context_addition_from_filter.py | ||
| echo_bot.py | ||
| echo_bot_webhook.py | ||
| echo_bot_webhook_ssl.py | ||
| error_handling.py | ||
| finite_state_machine.py | ||
| multibot.py | ||
| own_filter.py | ||
| quiz_scene.py | ||
| scene.py | ||
| specify_updates.py | ||
| without_dispatcher.py | ||