photos.getUserPhotos
Returns the list of user photos.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
user_id | InputUser | Ja | Benutzer-ID |
offset | int | Ja | Number of list elements to be skipped |
max_id | long | Ja | 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 | Ja | Number of list elements to be returned |
Antworten
photos.Photos
MTProto RPC
- 400 · CHANNEL_PRIVATE — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.
- 400 · MAX_ID_INVALID – Die angegebene maximale ID ist ungültig.
- 400 · MSG_ID_INVALID – Ungültige Nachrichten-ID angegeben.
- 400 · USER_ID_INVALID – Die angegebene Benutzer-ID ist ungültig.