InputPhotoFileLocation#
- class pyrogram.raw.types.InputPhotoFileLocation#
Use this object to download a photo with upload.getFile method
Constructor of
InputFileLocation.- Details:
Layer:
214ID:
40181FFE
- Parameters:
id (
int64-bit) – Photo ID, obtained from the photo objectaccess_hash (
int64-bit) – Photo’s access hash, obtained from the photo objectfile_reference (
bytes) – File referencethumb_size (
str) – The PhotoSize to download: must be set to the type field of the desired PhotoSize object of the photo