Skip to content

upload.getFile

Layer 225

Constructor ID: 0xbe5335be
Returns: File

Parameters

NameTypeDescription
precisebool (flags.0, optional)
cdn_supportedbool (flags.1, optional)
locationInputFileLocation
offsetint64
limitint32

Example

go
result, err := client.Raw(&tg.GetFileRequest{
    precise: false,
    cdn_supported: false,
    location: nil, // InputFileLocation
    offset: 0,
    limit: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.