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

41 lines
796 B
Markdown
Raw Normal View History

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