MadelineProto/old_docs/API_docs_v72/constructors/photos_photos.md
2017-11-15 12:41:58 +00: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}}