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