MadelineProto/docs/TD_docs/constructors/userProfilePhotos.md

46 lines
922 B
Markdown
Raw Normal View History

---
title: userProfilePhotos
description: Contains part of the list of user photos
---
## Constructor: userProfilePhotos
[Back to constructors index](index.md)
Contains part of the list of user photos
### Attributes:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|total\_count|[int](../types/int.md) | Yes|Total number of user profile photos|
|photos|Array of [photo](../constructors/photo.md) | Yes|List of photos|
### Type: [UserProfilePhotos](../types/UserProfilePhotos.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$userProfilePhotos = ['_' => 'userProfilePhotos', 'total_count' => int, 'photos' => [photo]];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "userProfilePhotos", "total_count": int, "photos": [photo]}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
userProfilePhotos={_='userProfilePhotos', total_count=int, photos={photo}}
```