Layer 224
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

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.