upload.getCdnFile
Download a CDN file.
Download a [CDN](https://core.telegram.org/cdn.md) file.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
file_token | bytes | Ja | File token |
offset | long | Ja | Offset of chunk to download |
limit | int | Ja | Length of chunk to download |
Antworten
upload.CdnFile
MTProto RPC
- 400 · FILE_TOKEN_INVALID – Der Master-DC hat den file_token nicht akzeptiert (e.g., das Token ist abgelaufen). Fahren Sie mit dem Herunterladen der Datei vom Master-DC mit upload.getFile fort.
- 404 · METHOD_INVALID – Die angegebene Methode ist ungültig.