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

858 B

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

Constructor: photos.photos

Back to constructors index

Photos

Attributes:

Name Type Required Description
photos Array of Photo Yes Photos
users Array of User Yes Users

Type: photos_Photos

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

photos_photos={_='photos.photos', photos={Photo}, users={User}}