mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +00:00
Parse markdown on edit_message_text
This commit is contained in:
parent
28c3a07d84
commit
e3850ce75a
@ -488,7 +488,7 @@ class Client:
|
|||||||
functions.messages.EditMessage(
|
functions.messages.EditMessage(
|
||||||
peer=self.resolve_peer(chat_id),
|
peer=self.resolve_peer(chat_id),
|
||||||
id=message_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)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user