photos.getUserPhotos
Returns the list of user photos.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
user_id | InputUser | はい | ユーザーID |
offset | int | はい | Number of list elements to be skipped |
max_id | long | はい | If a positive value was transferred, the method will return only photos with IDs less than the set one. This parameter is often useful when [refetching file references »](https://core.telegram.org/api/file-references.md), as in conjuction with `limit=1` and `offset=-1` the [photo](https://core.telegram.org/constructor/photo.md) object with the `id` specified in `max_id` can be fetched. |
limit | int | はい | Number of list elements to be returned |
レスポンス
photos.Photos
MTProto RPC
- 400 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 400 · MAX_ID_INVALID — The provided max ID is invalid.
- 400 · MSG_ID_INVALID — Invalid message ID provided.
- 400 · USER_ID_INVALID — The provided user ID is invalid.