InputFileLocation

Defines the location of a file for download.

inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation;
inputVideoFileLocation#3d0364ec id:long access_hash:long = InputFileLocation;
inputEncryptedFileLocation#f5235d55 id:long access_hash:long = 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