Constructor: inputPhoto

Back to constructors index

Defines a photo for further interaction.


Name Type Required Description
id long Yes Photo identifier
access_hash long Yes access_hash value from the photo constructor
file_reference bytes Yes File reference

Type: InputPhoto


$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes'];

Or, if you’re into Lua:

inputPhoto={_='inputPhoto', id=long, access_hash=long, file_reference='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.