pyTelegramBotAPI
pyTelegramBotAPI copied to clipboard
Stop polling when getting Unauthorized/Not Found(token errors)
@badiboy what do you think of stopping polling when a token no longer becomes valid?
Unauthorised error may lead to stop polling, because there is no way to revive bot with the same token.
Wdym? Do U think it will be reasonable to implement it? Rn it will re-try connecting infinitely
I think it's a translation error and they're agreeing that it should lead to polling being stopped because you can't continue with the same token so there's no point in retrying.