Raw.Document

Raw.Document

Document

document#8fd4c4d8 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:long thumbs:flags.0?Vector<PhotoSize> video_thumbs:flags.1?Vector<VideoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;
export namespace Raw {
  export class Document {
    constructor(params: {
      id: bigint;
      accessHash: bigint;
      fileReference: Buffer;
      date: number;
      mimeType: string;
      size: bigint;
      thumbs?: Array<Raw.TypePhotoSize>;
      videoThumbs?: Array<Raw.TypeVideoSize>;
      dcId: number;
      attributes: Array<Raw.TypeDocumentAttribute>;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x8fd4c4d8

Property