Raw.upload.GetWebFile
Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.
upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;
export namespace Raw {
export namespace upload {
export class GetWebFile {
constructor(params: {
location: Raw.TypeInputWebFileLocation;
offset: number;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x24e6818d
Property
location
: Raw.TypeInputWebFileLocationThe file to download
offset
: numberNumber of bytes to be skipped
limit
: numberNumber of bytes to be returned