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

Fix order for consistency in process_new_updates

This commit is contained in:
Alexander Tkachev 2020-03-09 17:25:37 +07:00
parent 9410a3d310
commit 12547efa08

View File

@ -327,10 +327,10 @@ class TeleBot:
self.process_new_chosen_inline_query(new_chosen_inline_results)
if len(new_callback_querys) > 0:
self.process_new_callback_query(new_callback_querys)
if len(new_pre_checkout_querys) > 0:
self.process_new_pre_checkout_query(new_pre_checkout_querys)
if len(new_shipping_querys) > 0:
self.process_new_shipping_query(new_shipping_querys)
if len(new_pre_checkout_querys) > 0:
self.process_new_pre_checkout_query(new_pre_checkout_querys)
def process_new_messages(self, new_messages):
self._notify_next_handlers(new_messages)