2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Disable parse mode when copying messages

The entities are already taken from the original message
This commit is contained in:
Dan 2022-11-15 11:13:53 +01:00
parent 23d953237e
commit 1699ef0d4c

View File

@ -3057,6 +3057,7 @@ class Message(Object, Update):
chat_id,
text=self.text,
entities=self.entities,
parse_mode=enums.ParseMode.DISABLED,
disable_web_page_preview=not self.web_page,
disable_notification=disable_notification,
reply_to_message_id=reply_to_message_id,