InputFileLocation

class pyrogram.raw.base.InputFileLocation

Defines the location of a file for download.

Constructors

This base type has 10 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

Constructor type of InputFileLocation.

InputPeerPhotoFileLocation

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

InputPhotoFileLocation

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

InputPhotoLegacyFileLocation

Legacy photo file location.

InputSecureFileLocation

Location of encrypted telegram passport file.

InputStickerSetThumb

Location of stickerset thumbnail (see files).

InputTakeoutFileLocation

Empty constructor for takeout.