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

Update util.py

added `allowed_updates` list (used by `_init_._retrieve_all_updates` because `chat_member` is not requested by default)
This commit is contained in:
SwissCorePy 2021-06-23 16:09:40 +02:00
parent bffbe764e5
commit 65cf841015

View File

@ -38,6 +38,10 @@ content_type_service = [
'voice_chat_participants_invited', 'message_auto_delete_timer_changed' 'voice_chat_participants_invited', 'message_auto_delete_timer_changed'
] ]
allowed_updates = ["update_id", "message", "edited_message", "channel_post", "edited_channel_post",
"inline_query", "chosen_inline_result", "callback_query", "shipping_query", "pre_checkout_query",
"poll", "poll_answer", "my_chat_member", "chat_member"
]
class WorkerThread(threading.Thread): class WorkerThread(threading.Thread):
count = 0 count = 0