upload.getWebFile
Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.
Returns content of a web file, by proxying the request through telegram, see the [webfile docs for more info](https://core.telegram.org/api/files.md#downloading-webfiles).
| Name | Type | Required | Description |
|---|---|---|---|
location | InputWebFileLocation | Yes | The file to download |
offset | int | Yes | Number of bytes to be skipped |
limit | int | Yes | Number of bytes to be returned |
Responses
upload.WebFile
MTProto RPC
- 400 · DOCUMENT_INVALID — The specified document is invalid.
- 400 · LOCATION_INVALID — The provided location is invalid.