Interface GetFileDownloadedPrefixSize

Returns file downloaded prefix size from a given offset, in bytes. Request type for Tdjson#getFileDownloadedPrefixSize.

interface GetFileDownloadedPrefixSize {
    @type: "getFileDownloadedPrefixSize";
    file_id: number;
    offset: number;
}

Properties

Properties

@type: "getFileDownloadedPrefixSize"
file_id: number

Identifier of the file.

offset: number

Offset from which downloaded prefix size needs to be calculated.