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:
parent
6a98d27f1a
commit
8a9d89591b
@ -99,7 +99,7 @@ class Update(JsonDeserializable):
|
|||||||
chosen_inline_result = ChosenInlineResult.de_json(obj['chosen_inline_result'])
|
chosen_inline_result = ChosenInlineResult.de_json(obj['chosen_inline_result'])
|
||||||
if 'callback_query' in obj:
|
if 'callback_query' in obj:
|
||||||
callback_query = CallbackQuery.de_json(obj['callback_query'])
|
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):
|
def __init__(self, update_id, message, edited_message, inline_query, chosen_inline_result, callback_query):
|
||||||
self.update_id = update_id
|
self.update_id = update_id
|
||||||
|
Loading…
Reference in New Issue
Block a user