inputPhotoFileLocation #

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

Layer 223

inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;

Parameters #

NameTypeDescription
idlongPhoto ID, obtained from the photo object
access_hashlongPhoto's access hash, obtained from the photo object
file_referencebytesFile reference
thumb_sizestringThe PhotoSize to download: must be set to the type field of the desired PhotoSize object of the photo

Type #

InputFileLocation

photo #

Photo

File references #

How to handle file references.

PhotoSize #

Location of a certain size of a picture

upload.getFile #

Returns content of a whole file or its part.