InputFileLocation#

class pyrogram.raw.base.InputFileLocation#

Defines the location of a file for download.

Constructors:

This base type has 12 constructors available.

InputDocumentFileLocation

Document location (video, voice, audio, basically every type except photo)

InputEncryptedFileLocation

Location of encrypted secret chat file.

InputFileLocation

DEPRECATED location of a photo

InputGroupCallStream

Chunk of a livestream

InputPeerPhotoFileLocation

Location of profile photo of channel/group/supergroup/user

InputPeerPhotoFileLocationLegacy

Constructor of InputFileLocation.

InputPhotoFileLocation

Use this object to download a photo with upload.getFile method

InputPhotoLegacyFileLocation

DEPRECATED legacy photo file location

InputSecureFileLocation

Location of encrypted telegram passport file.

InputStickerSetThumb

Location of stickerset thumbnail (see files)

InputStickerSetThumbLegacy

Constructor of InputFileLocation.

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.