Machine-readable version of this page: //core.telegram.org/constructor/inputPhoto.md.

inputPhoto

Defines a photo for further interaction.

inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto;

Parameters

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

Type

InputPhoto

Related pages

photo

Photo

File references

How to handle file references.