mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add other methods
This commit is contained in:
parent
44ad3cf58e
commit
b132506cd9
7 changed files with 161 additions and 0 deletions
|
|
@ -21,6 +21,14 @@ As bot method
|
|||
result: Union[Message, bool] = await bot.edit_message_live_location(...)
|
||||
|
||||
|
||||
As message method
|
||||
-----------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: Union[Message, bool] = await message.edit_live_location(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,14 @@ As bot method
|
|||
result: Union[Message, bool] = await bot.edit_message_media(...)
|
||||
|
||||
|
||||
As message method
|
||||
-----------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: Union[Message, bool] = await message.edit_media(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,14 @@ As bot method
|
|||
result: bool = await bot.pin_chat_message(...)
|
||||
|
||||
|
||||
As message method
|
||||
-----------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: bool = await message.pin(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,14 @@ As bot method
|
|||
result: Union[Message, bool] = await bot.stop_message_live_location(...)
|
||||
|
||||
|
||||
As message method
|
||||
-----------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: Union[Message, bool] = await message.stop_message_live_location(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,14 @@ As bot method
|
|||
result: bool = await bot.unpin_chat_message(...)
|
||||
|
||||
|
||||
As message method
|
||||
-----------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: bool = await message.unpin()
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue