Comments (5)
I can't, because they are out of TDLib's control.
from td.
The error can be returned only if you exceeded rate limits. There is no way to avoid it.
from td.
But even after pausing for 15-20seconds between each file?
Secondly, the error appears in the middle of uploading the file. What I meant is when I call sendMessage command, it runs for a while (like if I take an example of 50MB PDF file, it stops after 15% - 20% upload is done) and then suddenly starts getting FLOOD_PREMIUM_WAIT_XX.. For example
[ 3][t 3][1722250754.534937381][NetQuery.cpp:144][#1][!Session:5:upload#4][&net_query] Receive error [Query:[id:XXXX][tl:0xXXXX][msg_id:XXXX]] [Error : 420 : FLOOD_PREMIUM_WAIT_15]
from td.
Rate limits are up to the server. You can't avoid them.
from td.
Thanks @levlam
If you can let me know what are the limitations for sending files using tdlib that would really be helpful.
from td.
Related Issues (20)
- "Limit reached" error when trying to join a channel or group, even though joined only ~20. HOT 5
- Telegram login HOT 1
- [ 1][t 0][1722393961.183200836][tl_jni_object.cpp:39] Can't find field [reaction] with signature [Ljava/lang/String;] HOT 16
- مساعدة HOT 6
- Error to run tdlib in springboot project in windows 10 HOT 17
- Tdlib version 1.8.34 error `400 Chat not found` HOT 2
- How should I remove the Tdlib version information at the end of the login information? HOT 3
- when i build example cpp ,i got this : TdConfig.cmake, version: 1.8.34 (32bit) HOT 2
- Current build scripts does not generate dSYMs which may cause warnings under Xcode 16 HOT 10
- Signaler
- Can't build android tdlib HOT 6
- How to Set a Timeout for TdApi.DownloadFile in Java with tdlib? HOT 5
- > _ No description provided. _
- TdApi.getRemoteFile return size = 0 for existing file HOT 2
- Mutliple Client on Springboot java HOT 3
- wasm size HOT 2
- Invalid phone number error on fragment numbers HOT 10
- "searchUserByPhoneNumber" Method Returns 404 on Production Server HOT 1
- https://github.com/tdlib/td/issues/3006#issue-2438111346
- How to disable saving files to disk? (use_file_database=false don't help)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from td.