aiogram/docs/api/methods/get_chat.rst
Alex Root Junior cf2980a9c1
Full support of Bot API 7.3 (#1480)
* Added full support of Bot API

* Added full support of Bot API

* Fixed tests

* Added changelog

* Bump version
2024-05-06 23:27:54 +03:00

38 lines
591 B
ReStructuredText

#######
getChat
#######
Returns: :obj:`ChatFullInfo`
.. automodule:: aiogram.methods.get_chat
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: ChatFullInfo = await bot.get_chat(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.get_chat import GetChat`
- alias: :code:`from aiogram.methods import GetChat`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: ChatFullInfo = await bot(GetChat(...))