Layer 227
method Users
upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;

Parameters

Name Type Description
Location InputWebFileLocation The file to download
Offset int Number of bytes to be skipped
Limit int Number of bytes to be returned

Returns

upload.WebFile

Gogram Example

// UploadGetWebFile - positional arguments
result, err := client.UploadGetWebFile(&tg.InputWebFileLocation{}, 42, 42)
if err != nil {
    // handle error
}
// result is *tg.UploadWebFile

Possible Errors

Code Type Description
400 DOCUMENT_INVALID The specified document is invalid.
400 LOCATION_INVALID The provided location is invalid.