MadelineProto/old_docs/API_docs_v57/constructors/photos_photos.md
2017-07-23 16:33:46 +02:00

756 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], 'users' => [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}}