InputFileLocation

Defines the location of a file for download.

inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation;
inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation;
inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation;
inputTakeoutFileLocation#29be5899 = InputFileLocation;
inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation;
inputPeerPhotoFileLocation#37257e99 flags:# big:flags.0?true peer:InputPeer photo_id:long = InputFileLocation;
inputStickerSetThumb#9d84f3db stickerset:InputStickerSet thumb_version:int = InputFileLocation;
inputGroupCallStream#598a92a flags:# call:InputGroupCall time_ms:long scale:int video_channel:flags.0?int video_quality:flags.0?int = InputFileLocation;

Constructors

Constructor Description
inputFileLocation DEPRECATED location of a photo
inputEncryptedFileLocation Location of encrypted secret chat file.
inputDocumentFileLocation Document location (video, voice, audio, basically every type except photo)
inputSecureFileLocation Location of encrypted telegram passport file.
inputTakeoutFileLocation Empty constructor for takeout
inputPhotoFileLocation Use this object to download a photo with upload.getFile method
inputPhotoLegacyFileLocation DEPRECATED legacy photo file location
inputPeerPhotoFileLocation Location of profile photo of channel/group/supergroup/user
inputStickerSetThumb Location of stickerset thumbnail (see files)
inputGroupCallStream Chunk of a livestream