1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fixed Travis build errors

This commit is contained in:
Kondra007 2016-05-22 15:44:04 +03:00
parent 6a98d27f1a
commit 8a9d89591b

View File

@ -99,7 +99,7 @@ class Update(JsonDeserializable):
chosen_inline_result = ChosenInlineResult.de_json(obj['chosen_inline_result'])
if 'callback_query' in obj:
callback_query = CallbackQuery.de_json(obj['callback_query'])
return cls(update_id, message, inline_query, chosen_inline_result, callback_query)
return cls(update_id, message, edited_message, inline_query, chosen_inline_result, callback_query)
def __init__(self, update_id, message, edited_message, inline_query, chosen_inline_result, callback_query):
self.update_id = update_id