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

46 lines
858 B
Markdown

---
title: photos.photos
description: Photos
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: photos.photos
[Back to constructors index](index.md)
Photos
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|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_photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "photos.photos", "photos": [Photo], "users": [User]}
```
Or, if you're into Lua:
```lua
photos_photos={_='photos.photos', photos={Photo}, users={User}}
```