Skip to content

Commit

Permalink
Disable parse mode when copying messages
Browse files Browse the repository at this point in the history
The entities are already taken from the original message
  • Loading branch information
delivrance committed Nov 15, 2022
1 parent 23d9532 commit 1699ef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyrogram/types/messages_and_media/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -3057,6 +3057,7 @@ async def copy(
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,
Expand Down

0 comments on commit 1699ef0

Please sign in to comment.