Base implementation

This commit is contained in:
Alex Root Junior 2022-04-17 00:05:29 +03:00
parent 286cf39c8a
commit 8bb8fe7ad7
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
68 changed files with 1826 additions and 78 deletions

View file

@ -0,0 +1,44 @@
#################
getChatMenuButton
#################
Returns: :obj:`MenuButton`
.. automodule:: aiogram.methods.get_chat_menu_button
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: MenuButton = await bot.get_chat_menu_button(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.get_chat_menu_button import GetChatMenuButton`
- alias: :code:`from aiogram.methods import GetChatMenuButton`
In handlers with current bot
----------------------------
.. code-block:: python
result: MenuButton = await GetChatMenuButton(...)
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: MenuButton = await bot(GetChatMenuButton(...))