Added full support for the Bot API 9.6 (#1792)

* Added full support for the Bot API 9.6

* Add support for `managed_bot` updates

* Set `description_parse_mode` default to `"parse_mode"` and use `DateTime` for `addition_date` in `PollOption`

* Update changelog with features and changes from Bot API 9.6

* Add changelog fragment generator and update poll parameter descriptions
This commit is contained in:
Alex Root Junior 2026-04-04 01:22:08 +03:00 committed by GitHub
parent 00c1130938
commit 9f49c0413f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
107 changed files with 3077 additions and 328 deletions

View file

@ -0,0 +1,38 @@
##################
getManagedBotToken
##################
Returns: :obj:`str`
.. automodule:: aiogram.methods.get_managed_bot_token
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: str = await bot.get_managed_bot_token(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.get_managed_bot_token import GetManagedBotToken`
- alias: :code:`from aiogram.methods import GetManagedBotToken`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: str = await bot(GetManagedBotToken(...))