I have made a telegram bot using pyrogram to upload a large video and the the progress bar is shown, however the progress bar is repeatedly edited message with new values.
This error message is shown frequently:
Waiting for 3 seconds before continuing (required by "messages.EditMessage")
I am trying to skip this error by try except block
try:
await msg.edit(text=current_message)
except:
pass
but this is not working, the error message still shows up!
What to do?