Layer 220
method Users

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

Possible Errors

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

Gogram Example

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