An object representing information about file location, that was either parsed from TDLib compatible File ID, or will be parsed to one.

This type is supposed to be an intermediate step between TL objects and string file IDs, and if you are using @mtcute/client, you don't really need to care about this type at all.

interface RawFullRemoteFileLocation {
    _: "remoteFileLocation";
    dcId: number;
    fileReference: null | Uint8Array;
    location: TypeRemoteFileLocation;
    type: FileType;
}

Properties

_: "remoteFileLocation"
dcId: number

DC ID where this file is located

fileReference: null | Uint8Array

File reference (if any)

Context of the file location

type: FileType

Type of the file