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 * Added tests * Reformat code * Added changelog * Bump API version
45 lines
920 B
ReStructuredText
45 lines
920 B
ReStructuredText
#########################
|
|
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(...)
|