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;
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 Empty constructor for takeout
inputPhotoFileLocation Use this object to download a photo with upload.getFile method
inputPeerPhotoFileLocation Location of profile photo of channel/group/supergroup/user
inputStickerSetThumb Location of stickerset thumbnail (see files)