Added API changes

This commit is contained in:
Alex Root Junior 2022-11-06 11:46:21 +02:00
parent 3ae5d904c9
commit 352ad1996f
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
104 changed files with 1087 additions and 150 deletions

View file

@ -2,7 +2,7 @@
getChatMenuButton
#################
Returns: :obj:`MenuButton`
Returns: :obj:`Union[MenuButtonDefault, MenuButtonWebApp, MenuButtonCommands]`
.. automodule:: aiogram.methods.get_chat_menu_button
:members:
@ -18,7 +18,7 @@ As bot method
.. code-block::
result: MenuButton = await bot.get_chat_menu_button(...)
result: Union[MenuButtonDefault, MenuButtonWebApp, MenuButtonCommands] = await bot.get_chat_menu_button(...)
Method as object
@ -34,4 +34,4 @@ With specific bot
.. code-block:: python
result: MenuButton = await bot(GetChatMenuButton(...))
result: Union[MenuButtonDefault, MenuButtonWebApp, MenuButtonCommands] = await bot(GetChatMenuButton(...))