mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
changed allowed_updates in util to update_types
i think its more clear name
This commit is contained in:
@@ -38,9 +38,10 @@ content_type_service = [
|
||||
'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"
|
||||
update_types = [
|
||||
"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):
|
||||
|
||||
Reference in New Issue
Block a user