1
0
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:
SwissCorePy 2021-06-18 22:37:31 +02:00
parent 63fe6e01d1
commit a9ae070256

View File

@ -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,