You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've faced an issue of a slow upload, as I initially thought, but it turns out there is a 5s delay if you send media in several consecutive messages. Is it really necessary for the bot to have this delay? As far as I know, there is no floodwait for the bots in private chats.
Here is the snippet of the source code I'm talking about (if opt.SleepThresholdMs == 0 { opt.SleepThresholdMs = 5000 }):
Also, maybe it isn't supposed to sleep if you send a single album with <10 media?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've faced an issue of a slow upload, as I initially thought, but it turns out there is a 5s delay if you send media in several consecutive messages. Is it really necessary for the bot to have this delay? As far as I know, there is no floodwait for the bots in private chats.
Here is the snippet of the source code I'm talking about (
if opt.SleepThresholdMs == 0 { opt.SleepThresholdMs = 5000 }):Also, maybe it isn't supposed to sleep if you send a single album with <10 media?
Beta Was this translation helpful? Give feedback.
All reactions