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#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation;
inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id: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 Used to download a JSON file that will contain all personal data related to features that do not have a specialized takeout method yet, see here ยป for more info on the takeout API.
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