Add quote_text & quote_entities on message copy (#11)

This commit is contained in:
Kroks4502 2023-11-11 12:37:55 +03:00 committed by GitHub
parent a451adee57
commit 34c93e8ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3626,6 +3626,8 @@ class Message(Object, Update):
message_thread_id=message_thread_id, message_thread_id=message_thread_id,
reply_to_chat_id=reply_to_chat_id, reply_to_chat_id=reply_to_chat_id,
reply_to_message_id=reply_to_message_id, reply_to_message_id=reply_to_message_id,
quote_text=quote_text,
quote_entities=quote_entities,
schedule_date=schedule_date, schedule_date=schedule_date,
protect_content=protect_content, protect_content=protect_content,
reply_markup=self.reply_markup if reply_markup is object else reply_markup reply_markup=self.reply_markup if reply_markup is object else reply_markup