1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 14:27:21 +01:00
MadelineProto/old_docs/API_docs_v65/constructors/photos_photos.md
2017-07-23 16:11:02 +02:00

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