mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix #314
This commit is contained in:
parent
0b1ae6ad8b
commit
777a3afaaa
@ -148,6 +148,8 @@ class WebhookInfo(JsonDeserializable):
|
||||
pending_update_count = obj['pending_update_count']
|
||||
last_error_date = None
|
||||
last_error_message = None
|
||||
max_connections = None
|
||||
allowed_updates = None
|
||||
if 'last_error_message' in obj:
|
||||
last_error_date = obj['last_error_date']
|
||||
if 'last_error_message' in obj:
|
||||
|
Loading…
Reference in New Issue
Block a user