MadelineProtoDocs/old_docs/API_docs_v8/constructors/photos.photos.md

41 lines
878 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: photos.photos
description: Full list of photos with auxiliary data.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/photos_photos.html
---
# Constructor: photos.photos
[Back to constructors index](index.md)
Full list of photos with auxiliary data.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|photos|Array of [Photo](../types/Photo.md) | Yes|List of photos|
|users|Array of [User](../types/User.md) | Yes|List of mentioned users|
### Type: [photos.Photos](../types/photos.Photos.md)
### Example:
```php
$photos.photos = ['_' => 'photos.photos', 'photos' => [Photo, Photo], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
photos.photos={_='photos.photos', photos={Photo}, users={User}}
```