976 B
976 B
title | description | image |
---|---|---|
inputPhoto | Photo | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputPhoto
Photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | long | Yes | ID |
access_hash | long | Yes | Access hash |
file_reference | bytes | Yes | File reference |
Type: InputPhoto
Example:
$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "inputPhoto", "id": long, "access_hash": long, "file_reference": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
inputPhoto={_='inputPhoto', id=long, access_hash=long, file_reference='bytes'}