Replies: 2 comments
-
roll my own. But restarting script is a strange way. Why not just to retry sending message? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually I see it does have built-in retry already ! pyTelegramBotAPI/telebot/apihelper.py Line 39 in c8d1dac Restarting the script -- I knew it worked, but I think simpler to just retry, it doesn't seem script restart is necessary |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes messages are failing to send. Restarting the script recovers it. But the messages that I asked to send with
bot.send_message
don't get re-sent. Is there any built-in way to have it recover this on startup or do I have to roll my own?Beta Was this translation helpful? Give feedback.
All reactions