Added full support of Bot API 8.2 (#1623)

* Added full support of Bot API 8.2

* Added changelog

* Try to add port

* Add port to the `test_reset_connector`
This commit is contained in:
Alex Root Junior 2025-01-02 02:38:18 +02:00 committed by GitHub
parent 81550997f7
commit afccd8a38f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 811 additions and 85 deletions

View file

@ -0,0 +1,45 @@
##########
verifyChat
##########
Returns: :obj:`bool`
.. automodule:: aiogram.methods.verify_chat
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.verify_chat(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.verify_chat import VerifyChat`
- alias: :code:`from aiogram.methods import VerifyChat`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(VerifyChat(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return VerifyChat(...)