MadelineProtoDocs/old_docs/API_docs_v71/constructors/photos_photos.md
2018-04-01 13:24:46 +02:00

769 B

title description
photos.photos photos_photos attributes, type and example

Constructor: photos.photos

Back to constructors index

Attributes:

Name Type Required
photos Array of Photo Yes
users Array of User Yes

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}}