aiogram/docs
Alex Root Junior 4729978c60
Add context manager support for bot client (#1468)
* Add context manager support for bot client

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.

* Added changelog
2024-04-22 23:42:47 +03:00
..
_static More docs 2021-10-12 01:11:53 +03:00
api Added full support of Bot API 7.2 (#1444) 2024-04-22 13:48:49 +03:00
dispatcher Change magic filter examples 2024-02-09 21:27:21 +02:00
locale/uk_UA/LC_MESSAGES chore: remove repetitive words (#1438) 2024-03-17 02:20:29 +02:00
utils doc updated for WebApp (#1433) 2024-03-06 01:37:37 +02:00
changelog.rst towncrier integration (#647) 2021-08-01 19:08:03 +03:00
conf.py Migration guide 2.x -> 3.0 (#1143) 2023-07-29 22:36:12 +03:00
contributing.rst Add contributing support for zsh and win (#1272) 2023-08-18 12:06:13 +03:00
index.rst Add context manager support for bot client (#1468) 2024-04-22 23:42:47 +03:00
install.rst Small documentation improvements and texts update 2023-08-26 23:18:20 +03:00
make.bat Remove MkDocs 2021-05-13 00:13:09 +03:00
Makefile Remove MkDocs 2021-05-13 00:13:09 +03:00
migration_2_to_3.rst Corrected grammatical errors, improved sentence structures, translation for migration 2.x-3.x (#1302) 2023-10-01 15:29:18 +03:00