The dcId that the file belongs to. Used to borrow a sender from that DC
How much to download. The library will download until it reaches this amount.
can be useful for downloading by chunks
Used to determine how many download tasks should be run in parallel. anything above 16 is unstable.
How much to download in each chunk. The larger the less requests to be made. (max is 512kb).
Where to start downloading. useful for chunk downloading.
Where to stop downloading. useful for chunk downloading.
A callback function accepting two parameters: (received bytes, total)
.
Generated using TypeDoc
Low level interface for downloading files