From 777a3afaaa5f30f5bd5db95761416206b962574c Mon Sep 17 00:00:00 2001 From: eternnoir Date: Tue, 30 May 2017 17:17:29 +0800 Subject: [PATCH] Fix #314 --- telebot/types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telebot/types.py b/telebot/types.py index fd1cb68..5d84b20 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -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: