Raw.InputDocumentFileLocation

Raw.InputDocumentFileLocation

Document location (video, voice, audio, basically every type except photo)

inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
export namespace Raw {
  export class InputDocumentFileLocation {
    constructor(params: {
      id: bigint;
      accessHash: bigint;
      fileReference: Buffer;
      thumbSize: string;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xbad07584

Property

  • id : bigint

    Document id

  • accessHash : bigint

    AccessHash parameter from the document constructor

  • fileReference : Buffer

    File reference

  • thumbSize : string

    Thumbnail size to download the thumbnail