aiogram/CHANGES/1551.feature.rst
Alex Root Junior cf3a6c3d59
Added full support of Bot API 7.8 (#1551)
* Added full support of Bot API 7.8

* Added changelog

* Try to fix tests on Windows

* scope=session?

* Try another way

* Just try to set custom event loop policy manually

* Revert "Just try to set custom event loop policy manually"

This reverts commit 04ee60d878.

* Just try to set custom event loop policy manually
2024-08-09 19:10:39 +03:00

8 lines
536 B
ReStructuredText

Added full support of `Bot API 7.8 <https://core.telegram.org/bots/api-changelog#july-31-2024>`_
- Added the field :code:`has_main_web_app` to the class :class:`aiogram.types.user.User`,
which is returned in the response to :class:`aiogram.methods.get_me.GetMe`.
- Added the parameter :code:`business_connection_id` to the methods
:class:`aiogram.methods.pin_chat_message.PinChatMessage`
and :class:`aiogram.methods.unpin_chat_message.UnpinChatMessage`,
allowing bots to manage pinned messages on behalf of a business account.