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
This commit is contained in:
Alex Root Junior 2024-08-09 19:10:39 +03:00 committed by GitHub
parent 3ba724e2fa
commit cf3a6c3d59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 132 additions and 30 deletions

8
CHANGES/1551.feature.rst Normal file
View file

@ -0,0 +1,8 @@
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.