Download a CDN file.
Method schema is available as of layer 143. Switch ยป
| Name | Type | Description |
|---|---|---|
| file_token | bytes | File token |
| offset | long | Offset of chunk to download |
| limit | int | Length of chunk to download |
| Code | Type | Description |
|---|---|---|
| 400 | FILE_TOKEN_INVALID | The master DC did not accept the file_token (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile. |
| 404 | METHOD_INVALID | The specified method is invalid. |
How client apps download popular public files from secondary CDN data centers.