MadelineProtoDocs/old_docs/API_docs_v103/constructors/inputPhoto.md
2019-12-27 17:48:04 +01:00

984 B

title description image
inputPhoto Defines a photo for further interaction. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPhoto

Back to constructors index

Defines a photo for further interaction.

Attributes:

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

Example:

$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'}