mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
46 lines
952 B
ReStructuredText
46 lines
952 B
ReStructuredText
|
|
##############################
|
||
|
|
editChatSubscriptionInviteLink
|
||
|
|
##############################
|
||
|
|
|
||
|
|
Returns: :obj:`ChatInviteLink`
|
||
|
|
|
||
|
|
.. automodule:: aiogram.methods.edit_chat_subscription_invite_link
|
||
|
|
:members:
|
||
|
|
:member-order: bysource
|
||
|
|
:undoc-members: True
|
||
|
|
:exclude-members: model_config,model_fields
|
||
|
|
|
||
|
|
|
||
|
|
Usage
|
||
|
|
=====
|
||
|
|
|
||
|
|
As bot method
|
||
|
|
-------------
|
||
|
|
|
||
|
|
.. code-block::
|
||
|
|
|
||
|
|
result: ChatInviteLink = await bot.edit_chat_subscription_invite_link(...)
|
||
|
|
|
||
|
|
|
||
|
|
Method as object
|
||
|
|
----------------
|
||
|
|
|
||
|
|
Imports:
|
||
|
|
|
||
|
|
- :code:`from aiogram.methods.edit_chat_subscription_invite_link import EditChatSubscriptionInviteLink`
|
||
|
|
- alias: :code:`from aiogram.methods import EditChatSubscriptionInviteLink`
|
||
|
|
|
||
|
|
With specific bot
|
||
|
|
~~~~~~~~~~~~~~~~~
|
||
|
|
|
||
|
|
.. code-block:: python
|
||
|
|
|
||
|
|
result: ChatInviteLink = await bot(EditChatSubscriptionInviteLink(...))
|
||
|
|
|
||
|
|
As reply into Webhook in handler
|
||
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
|
||
|
|
.. code-block:: python
|
||
|
|
|
||
|
|
return EditChatSubscriptionInviteLink(...)
|