From 6783d7b16f5eec217b5ba4c94c19771e9e771b69 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 7 Feb 2018 03:24:50 +0100 Subject: [PATCH] Fix reply_to_message_id parameter for send_message --- pyrogram/client/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 9ae4b549..2b9318a1 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -605,7 +605,7 @@ class Client: parse_mode: str = "", disable_web_page_preview: bool = None, disable_notification: bool = None, - reply_to_msg_id: int = None): + reply_to_message_id: int = None): """Use this method to send text messages. Args: @@ -629,7 +629,7 @@ class Client: Sends the message silently. Users will receive a notification with no sound. - reply_to_msg_id (:obj:`bool`, optional): + reply_to_message_id (:obj:`bool`, optional): If the message is a reply, ID of the original message. Returns: @@ -645,7 +645,7 @@ class Client: peer=self.resolve_peer(chat_id), no_webpage=disable_web_page_preview or None, silent=disable_notification or None, - reply_to_msg_id=reply_to_msg_id, + reply_to_msg_id=reply_to_message_id, random_id=self.rnd_id(), **style.parse(text) )