telegram api type · layer 229

InputFileLocation

Defines the location of a file for download.

constructors (10)

constructoriddescription
inputFileLocation#dfdaabe1DEPRECATED location of a photo
inputEncryptedFileLocation#f5235d55Location of encrypted secret chat file.
inputDocumentFileLocation#bad07584Document location (video, voice, audio, basically every type except photo)
inputSecureFileLocation#cbc7ee28Location of encrypted telegram passport file.
inputTakeoutFileLocation#29be5899Used 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#40181ffeUse this object to download a photo with upload.getFile method
inputPhotoLegacyFileLocation#d83466f3DEPRECATED legacy photo file location
inputPeerPhotoFileLocation#37257e99Location of profile photo of channel/group/supergroup/user
inputStickerSetThumb#9d84f3dbLocation of stickerset thumbnail (see files)
inputGroupCallStream#0598a92aChunk of a livestream

used by (2)