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
63fe6e01d1
commit
a9ae070256
@ -158,7 +158,6 @@ class User(JsonDeserializable, Dictionaryable, JsonSerializable):
|
||||
def de_json(cls, json_string):
|
||||
if (json_string is None): return None
|
||||
obj = cls.check_json(json_string)
|
||||
print (obj)
|
||||
return cls(**obj)
|
||||
|
||||
def __init__(self, id, is_bot, first_name, last_name=None, username=None, language_code=None,
|
||||
|
Loading…
Reference in New Issue
Block a user