MadelineProto/docs/TD_docs/methods/getUserProfilePhotos.md
2017-08-25 15:05:53 +02:00

25 lines
811 B
Markdown

---
title: getUserProfilePhotos
description: Returns profile photos of the user. Result of this query may be outdated: some photos may be already deleted
---
## Method: getUserProfilePhotos
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns profile photos of the user. Result of this query may be outdated: some photos may be already deleted
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User identifier|
|offset|[int](../types/int.md) | Yes|Photos to skip, must be non-negative|
|limit|[int](../types/int.md) | Yes|Maximum number of photos to be returned, can't be greater than 100|
### Return type: [UserProfilePhotos](../types/UserProfilePhotos.md)