Link Search Menu Expand Document

Constructor: inputPhoto

Back to constructors index

Defines a photo for further interaction.

Attributes:

NameTypeRequiredDescription
idlongYesPhoto identifier
access_hashlongYesaccess_hash value from the photo constructor
file_referencebytesYesFile reference

Type: InputPhoto

Example:

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