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

47 lines
989 B
Markdown

---
title: photos.photosSlice
description: Photos slice
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: photos.photosSlice
[Back to constructors index](index.md)
Photos slice
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|count|[int](../types/int.md) | Yes|Count|
|photos|Array of [Photo](../types/Photo.md) | Yes|Photos|
|users|Array of [User](../types/User.md) | Yes|Users|
### Type: [photos\_Photos](../types/photos_Photos.md)
### Example:
```php
$photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo, Photo], 'users' => [User, User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "photos.photosSlice", "count": int, "photos": [Photo], "users": [User]}
```
Or, if you're into Lua:
```lua
photos_photosSlice={_='photos.photosSlice', count=int, photos={Photo}, users={User}}
```