telegram api constructor · layer 229 · #40181ffe

inputPhotoFileLocation

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

definition

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 · other constructors: inputFileLocation, inputEncryptedFileLocation, inputDocumentFileLocation, inputSecureFileLocation, inputTakeoutFileLocation, inputPhotoLegacyFileLocation, inputPeerPhotoFileLocation, inputStickerSetThumb, inputGroupCallStream

history

present in layers 98–229

idlayers
#40181ffe98–229