mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added changelog
This commit is contained in:
parent
b2b2fcff70
commit
5684bc3667
1 changed files with 13 additions and 0 deletions
13
CHANGES/1468.feature.rst
Normal file
13
CHANGES/1468.feature.rst
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Added context manager interface to Bot instance, from now you can use:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
async with Bot(...) as bot:
|
||||
...
|
||||
|
||||
instead of
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
async with Bot(...).context():
|
||||
...
|
||||
Loading…
Add table
Add a link
Reference in a new issue