Add Message.edit and Message.reply to docs

This commit is contained in:
Dan 2021-03-19 20:42:48 +01:00
parent b8cd08adb0
commit 2d785acdc7
2 changed files with 6 additions and 0 deletions

View File

@ -461,10 +461,12 @@ def pyrogram_api():
Message.copy Message.copy
Message.pin Message.pin
Message.unpin Message.unpin
Message.edit
Message.edit_text Message.edit_text
Message.edit_caption Message.edit_caption
Message.edit_media Message.edit_media
Message.edit_reply_markup Message.edit_reply_markup
Message.reply
Message.reply_text Message.reply_text
Message.reply_animation Message.reply_animation
Message.reply_audio Message.reply_audio

View File

@ -776,6 +776,8 @@ class Message(Object, Update):
) -> "Message": ) -> "Message":
"""Bound method *reply_text* of :obj:`~pyrogram.types.Message`. """Bound method *reply_text* of :obj:`~pyrogram.types.Message`.
An alias exists as *reply*.
Use as a shortcut for: Use as a shortcut for:
.. code-block:: python .. code-block:: python
@ -2580,6 +2582,8 @@ class Message(Object, Update):
) -> "Message": ) -> "Message":
"""Bound method *edit_text* of :obj:`~pyrogram.types.Message`. """Bound method *edit_text* of :obj:`~pyrogram.types.Message`.
An alias exists as *edit*.
Use as a shortcut for: Use as a shortcut for:
.. code-block:: python .. code-block:: python