Raw.upload.WebFile
Represents a chunk of an http webfile downloaded through telegram’s secure mtproto servers
upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;
export namespace Raw {
export namespace upload {
export class WebFile {
constructor(params: {
size: number;
mimeType: string;
fileType: Raw.storage.TypeFileType;
mtime: number;
bytes: Buffer;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x21e753bc
Property
size
: numberFile size
mimeType
: stringMime type
fileType
: Raw.storage.TypeFileTypeFile type
mtime
: numberModified time
bytes
: BufferData