mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update types.py
This commit is contained in:
parent
25571b581c
commit
15bd5f991a
@ -958,6 +958,8 @@ class Message(JsonDeserializable):
|
|||||||
opts['is_automatic_forward'] = obj.get('is_automatic_forward')
|
opts['is_automatic_forward'] = obj.get('is_automatic_forward')
|
||||||
if 'is_topic_message' in obj:
|
if 'is_topic_message' in obj:
|
||||||
opts['is_topic_message'] = obj.get('is_topic_message')
|
opts['is_topic_message'] = obj.get('is_topic_message')
|
||||||
|
if 'message_thread_id' in obj:
|
||||||
|
opts['message_thread_id'] = obj.get('message_thread_id')
|
||||||
if 'reply_to_message' in obj:
|
if 'reply_to_message' in obj:
|
||||||
opts['reply_to_message'] = Message.de_json(obj['reply_to_message'])
|
opts['reply_to_message'] = Message.de_json(obj['reply_to_message'])
|
||||||
if 'via_bot' in obj:
|
if 'via_bot' in obj:
|
||||||
|
Loading…
Reference in New Issue
Block a user