mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
[3.0] Bot API 5.1 + FSM + Utils (#525)
* Regenerate corresponding to Bot API 5.1 * Added base of FSM. Markup constructor and small refactoring * Fix dependencies * Fix mypy windows error * Move StatesGroup.get_root() from meta to class * Fixed chat and user constraints * Update pipeline * Remove docs pipeline * Added GLOBAL_USER FSM strategy * Reformat code * Fixed Dispatcher._process_update * Bump Bot API 5.2. Added integration with MagicFilter * Coverage
This commit is contained in:
parent
a6f824a117
commit
0e72d8e65b
265 changed files with 2921 additions and 1324 deletions
51
docs2/api/methods/edit_chat_invite_link.rst
Normal file
51
docs2/api/methods/edit_chat_invite_link.rst
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
##################
|
||||
editChatInviteLink
|
||||
##################
|
||||
|
||||
Returns: :obj:`ChatInviteLink`
|
||||
|
||||
.. automodule:: aiogram.methods.edit_chat_invite_link
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: ChatInviteLink = await bot.edit_chat_invite_link(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.edit_chat_invite_link import EditChatInviteLink`
|
||||
- alias: :code:`from aiogram.methods import EditChatInviteLink`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatInviteLink = await EditChatInviteLink(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatInviteLink = await bot(EditChatInviteLink(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return EditChatInviteLink(...)
|
||||
Loading…
Add table
Add a link
Reference in a new issue