mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 7.6
This commit is contained in:
parent
3baa7383c1
commit
ad771ce495
90 changed files with 1840 additions and 270 deletions
|
|
@ -90,6 +90,7 @@ Available methods
|
|||
send_location
|
||||
send_media_group
|
||||
send_message
|
||||
send_paid_media
|
||||
send_photo
|
||||
send_poll
|
||||
send_venue
|
||||
|
|
|
|||
45
docs/api/methods/send_paid_media.rst
Normal file
45
docs/api/methods/send_paid_media.rst
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
#############
|
||||
sendPaidMedia
|
||||
#############
|
||||
|
||||
Returns: :obj:`Message`
|
||||
|
||||
.. automodule:: aiogram.methods.send_paid_media
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: Message = await bot.send_paid_media(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.send_paid_media import SendPaidMedia`
|
||||
- alias: :code:`from aiogram.methods import SendPaidMedia`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await bot(SendPaidMedia(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return SendPaidMedia(...)
|
||||
Loading…
Add table
Add a link
Reference in a new issue