MadelineProtoDocs/old_docs/API_docs_v27/constructors/photos_photosSlice.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

989 B

title description image
photos.photosSlice Photos slice https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: photos.photosSlice

Back to constructors index

Photos slice

Attributes:

Name Type Required Description
count int Yes Count
photos Array of Photo Yes Photos
users Array of User Yes Users

Type: photos_Photos

Example:

$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]];

PWRTelegram json-encoded version:

{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]}

Or, if you're into Lua:

photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}}