mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Disable parse mode when copying messages
The entities are already taken from the original message
This commit is contained in:
parent
23d953237e
commit
1699ef0d4c
@ -3057,6 +3057,7 @@ class Message(Object, Update):
|
|||||||
chat_id,
|
chat_id,
|
||||||
text=self.text,
|
text=self.text,
|
||||||
entities=self.entities,
|
entities=self.entities,
|
||||||
|
parse_mode=enums.ParseMode.DISABLED,
|
||||||
disable_web_page_preview=not self.web_page,
|
disable_web_page_preview=not self.web_page,
|
||||||
disable_notification=disable_notification,
|
disable_notification=disable_notification,
|
||||||
reply_to_message_id=reply_to_message_id,
|
reply_to_message_id=reply_to_message_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user