InputFileLocation
- class pyrogram.raw.base.InputFileLocation
Defines the location of a file for download.
- Constructors:
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
Chunk of a livestream
Location of profile photo of channel/group/supergroup/user
Use this object to download a photo with upload.getFile method
DEPRECATED legacy photo file location
Location of encrypted telegram passport file.
Location of stickerset thumbnail (see files)
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.
TL Schema
inputFileLocation#dfdaabe1
volume_id:long
local_id:int
secret:long
file_reference:bytes
= InputFileLocation
Parameter Tree
InputFileLocation
├── volume_id →
long├── local_id →
int├── secret →
long└── file_reference →
bytesExample
InputFileLocation(
volume_id=0,
local_id=0,
secret=0,
file_reference=b"data",
)