mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added 6.7 features
This commit is contained in:
parent
2dd019d486
commit
da6e428b41
31 changed files with 700 additions and 4 deletions
37
docs/api/methods/get_my_name.rst
Normal file
37
docs/api/methods/get_my_name.rst
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#########
|
||||
getMyName
|
||||
#########
|
||||
|
||||
Returns: :obj:`BotName`
|
||||
|
||||
.. automodule:: aiogram.methods.get_my_name
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: BotName = await bot.get_my_name(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.get_my_name import GetMyName`
|
||||
- alias: :code:`from aiogram.methods import GetMyName`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: BotName = await bot(GetMyName(...))
|
||||
|
|
@ -171,3 +171,12 @@ Inline mode
|
|||
|
||||
answer_inline_query
|
||||
answer_web_app_query
|
||||
|
||||
Upcoming update
|
||||
===============
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
get_my_name
|
||||
set_my_name
|
||||
|
|
|
|||
44
docs/api/methods/set_my_name.rst
Normal file
44
docs/api/methods/set_my_name.rst
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
#########
|
||||
setMyName
|
||||
#########
|
||||
|
||||
Returns: :obj:`bool`
|
||||
|
||||
.. automodule:: aiogram.methods.set_my_name
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: bool = await bot.set_my_name(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.set_my_name import SetMyName`
|
||||
- alias: :code:`from aiogram.methods import SetMyName`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await bot(SetMyName(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return SetMyName(...)
|
||||
9
docs/api/types/bot_name.rst
Normal file
9
docs/api/types/bot_name.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#######
|
||||
BotName
|
||||
#######
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.bot_name
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
|
|
@ -192,6 +192,16 @@ Payments
|
|||
shipping_query
|
||||
successful_payment
|
||||
|
||||
Upcoming update
|
||||
===============
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
bot_name
|
||||
inline_query_results_button
|
||||
switch_inline_query_chosen_chat
|
||||
|
||||
Games
|
||||
=====
|
||||
|
||||
|
|
|
|||
9
docs/api/types/inline_query_results_button.rst
Normal file
9
docs/api/types/inline_query_results_button.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
########################
|
||||
InlineQueryResultsButton
|
||||
########################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.inline_query_results_button
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
9
docs/api/types/switch_inline_query_chosen_chat.rst
Normal file
9
docs/api/types/switch_inline_query_chosen_chat.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
###########################
|
||||
SwitchInlineQueryChosenChat
|
||||
###########################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.switch_inline_query_chosen_chat
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
Loading…
Add table
Add a link
Reference in a new issue