Defines the location of a file for download.
This base type has 10 constructors available.
Document location (video, voice, audio, basically every type except photo).
Location of encrypted secret chat file.
DEPRECATED location of a photo.
Constructor type of
Location of profile photo of channel/group/supergroup/user.
Use this object to download a photo with upload.getFile method.
Legacy photo file location.
Location of encrypted telegram passport file.
Location of stickerset thumbnail (see files).
Empty constructor for takeout.