diff --git a/compiler/docs/compiler.py b/compiler/docs/compiler.py index fdc01d5a..fc8734eb 100644 --- a/compiler/docs/compiler.py +++ b/compiler/docs/compiler.py @@ -461,10 +461,12 @@ def pyrogram_api(): Message.copy Message.pin Message.unpin + Message.edit Message.edit_text Message.edit_caption Message.edit_media Message.edit_reply_markup + Message.reply Message.reply_text Message.reply_animation Message.reply_audio diff --git a/pyrogram/types/messages_and_media/message.py b/pyrogram/types/messages_and_media/message.py index 92125cd8..f1cce01d 100644 --- a/pyrogram/types/messages_and_media/message.py +++ b/pyrogram/types/messages_and_media/message.py @@ -776,6 +776,8 @@ class Message(Object, Update): ) -> "Message": """Bound method *reply_text* of :obj:`~pyrogram.types.Message`. + An alias exists as *reply*. + Use as a shortcut for: .. code-block:: python @@ -2580,6 +2582,8 @@ class Message(Object, Update): ) -> "Message": """Bound method *edit_text* of :obj:`~pyrogram.types.Message`. + An alias exists as *edit*. + Use as a shortcut for: .. code-block:: python