diff --git a/pyrogram/methods/messages/send_message.py b/pyrogram/methods/messages/send_message.py index 3a57be99..ccef39d4 100644 --- a/pyrogram/methods/messages/send_message.py +++ b/pyrogram/methods/messages/send_message.py @@ -34,6 +34,7 @@ class SendMessage: disable_web_page_preview: bool = None, disable_notification: bool = None, message_thread_id: int = None, + invert_media: bool = None, reply_to_message_id: int = None, reply_to_chat_id: Union[int, str] = None, reply_to_story_id: int = None, @@ -80,6 +81,9 @@ class SendMessage: Unique identifier for the target message thread (topic) of the forum. For supergroups only. + invert_media (``bool``, *optional*): + Invert media. + reply_to_message_id (``int``, *optional*): If the message is a reply, ID of the original message. @@ -156,6 +160,7 @@ class SendMessage: peer=peer, no_webpage=disable_web_page_preview or None, silent=disable_notification or None, + invert_media=invert_media or None, reply_to=utils.get_reply_to( reply_to_message_id=reply_to_message_id, message_thread_id=message_thread_id,