mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 8.0
This commit is contained in:
parent
f2916ca03f
commit
86e4ab235d
36 changed files with 1605 additions and 2 deletions
45
docs/api/methods/edit_user_star_subscription.rst
Normal file
45
docs/api/methods/edit_user_star_subscription.rst
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
########################
|
||||
editUserStarSubscription
|
||||
########################
|
||||
|
||||
Returns: :obj:`bool`
|
||||
|
||||
.. automodule:: aiogram.methods.edit_user_star_subscription
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: bool = await bot.edit_user_star_subscription(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.edit_user_star_subscription import EditUserStarSubscription`
|
||||
- alias: :code:`from aiogram.methods import EditUserStarSubscription`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await bot(EditUserStarSubscription(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return EditUserStarSubscription(...)
|
||||
Loading…
Add table
Add a link
Reference in a new issue