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