MadelineProtoDocs/old_docs/API_docs_v72/constructors/photos_photo.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

825 B

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

Constructor: photos.photo

Back to constructors index

Photo

Attributes:

Name Type Required Description
photo Photo Optional Photo
users Array of User Yes Users

Type: photos_Photo

Example:

$photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User, User]];

PWRTelegram json-encoded version:

{"_": "photos.photo", "photo": Photo, "users": [User]}

Or, if you're into Lua:

photos_photo={_='photos.photo', photo=Photo, users={User}}