Update types.py

This commit is contained in:
_run 2022-11-18 23:12:03 +04:00 committed by GitHub
parent bf617ab8da
commit 25571b581c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -956,6 +956,8 @@ class Message(JsonDeserializable):
opts['forward_date'] = obj.get('forward_date')
if 'is_automatic_forward' in obj:
opts['is_automatic_forward'] = obj.get('is_automatic_forward')
if 'is_topic_message' in obj:
opts['is_topic_message'] = obj.get('is_topic_message')
if 'reply_to_message' in obj:
opts['reply_to_message'] = Message.de_json(obj['reply_to_message'])
if 'via_bot' in obj: