mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update types.py
Fix
This commit is contained in:
parent
82e252ec46
commit
0422e62f65
@ -369,7 +369,7 @@ class Message(JsonDeserializable):
|
|||||||
if 'connected_website' in obj:
|
if 'connected_website' in obj:
|
||||||
opts['connected_website'] = obj['connected_website']
|
opts['connected_website'] = obj['connected_website']
|
||||||
content_type = 'connected_website'
|
content_type = 'connected_website'
|
||||||
return cls(message_id, from_user, date, chat, content_type, opts, json)
|
return cls(message_id, from_user, date, chat, content_type, opts, json_string)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def parse_chat(cls, chat):
|
def parse_chat(cls, chat):
|
||||||
|
Loading…
Reference in New Issue
Block a user