MadelineProtoDocs/old_docs/API_docs_v40/constructors/inputPhoto.md

667 B

title description image
inputPhoto Photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPhoto

Back to constructors index

Photo

Attributes:

Name Type Required Description
id long Yes ID
access_hash long Yes Access hash

Type: InputPhoto

Example:

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

Or, if you're into Lua:

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