Raw.upload.GetFile
Returns content of a whole file or its part.
upload.getFile#be5335be flags:# precise:flags.0?true cdn_supported:flags.1?true location:InputFileLocation offset:long limit:int = upload.File;
export namespace Raw {
export namespace upload {
export class GetFile {
constructor(params: {
precise?: boolean;
cdnSupported?: boolean;
location: Raw.TypeInputFileLocation;
offset: bigint;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xbe5335be
Property
precise
: boolean or undefinedDisable some checks on limit and offset values, useful for example to stream videos by keyframes
cdnSupported
: boolean or undefinedWhether the current client supports cdn downloads
location
: Raw.TypeInputFileLocationFile location
offset
: bigintNumber of bytes to be skipped
limit
: numberNumber of bytes to be returned