mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2025-01-22 05:41:46 +01:00
946 B
946 B
title | description | nav_exclude | image |
---|---|---|---|
inputPhoto | Defines a photo for further interaction. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputPhoto
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'];