mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
polling should leave our world. :)
This commit is contained in:
@@ -30,4 +30,4 @@ def my_chat_m(message: types.ChatMemberUpdated):
|
||||
@bot.message_handler(content_types=util.content_type_service)
|
||||
def delall(message: types.Message):
|
||||
bot.delete_message(message.chat.id,message.message_id)
|
||||
bot.polling(allowed_updates=util.update_types)
|
||||
bot.infinity_polling(allowed_updates=util.update_types)
|
||||
|
||||
Reference in New Issue
Block a user