From e3850ce75a9fe09b44ecb6a22bee9e4fb8324f96 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 7 Dec 2017 02:15:41 +0100 Subject: [PATCH] Parse markdown on edit_message_text --- pyrogram/client/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 6ef412ff..9b6d1763 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -488,7 +488,7 @@ class Client: functions.messages.EditMessage( peer=self.resolve_peer(chat_id), id=message_id, - message=text, - no_webpage=disable_web_page_preview or None + no_webpage=disable_web_page_preview or None, + **Markdown.parse(text) ) )