MadelineProtoDocs/old_docs/API_docs_v43/constructors/photos.photos.md

41 lines
878 B
Markdown
Raw Permalink Normal View History

2020-09-12 12:47:38 +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}}
```