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:
@@ -10,4 +10,4 @@ def send_welcome(message):
|
||||
def echo_all(message):
|
||||
bot.reply_to(message, message.text)
|
||||
|
||||
bot.polling(skip_pending=True)# Skip pending skips old updates
|
||||
bot.infinity_polling(skip_pending=True)# Skip pending skips old updates
|
||||
|
||||
Reference in New Issue
Block a user