diff --git a/pyrogram/types/messages_and_media/message.py b/pyrogram/types/messages_and_media/message.py index 355a83a5..df5f2dd1 100644 --- a/pyrogram/types/messages_and_media/message.py +++ b/pyrogram/types/messages_and_media/message.py @@ -863,7 +863,9 @@ class Message(Object, Update): disable_web_page_preview: bool = None, disable_notification: bool = None, reply_to_message_id: int = None, - reply_markup=None + schedule_date: int = None, + protect_content: bool = None, + reply_markup = None ) -> "Message": """Bound method *reply_text* of :obj:`~pyrogram.types.Message`. @@ -913,6 +915,12 @@ class Message(Object, Update): reply_to_message_id (``int``, *optional*): If the message is a reply, ID of the original message. + schedule_date (``int``, *optional*): + Date when the message will be automatically sent. Unix time. + + protect_content (``bool``, *optional*): + Protects the contents of the sent message from forwarding and saving. + reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*): Additional interface options. An object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user. @@ -937,6 +945,8 @@ class Message(Object, Update): disable_web_page_preview=disable_web_page_preview, disable_notification=disable_notification, reply_to_message_id=reply_to_message_id, + schedule_date=schedule_date, + protect_content=protect_content, reply_markup=reply_markup )