Guide to clear pending bot updates (pyTelegramBotAPI)
It helps us to overcome from telebot pending update error.
Error:
ERROR - TeleBot: "A request to the Telegram API was unsuccessful. Error code: 429 Description: Too Many Requests: retry after 474"