MadelineProto/old_docs/API_docs_v70/constructors/photos_photos.md

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