Returns the list of user photos.
photos.photos#8dca6aa5 photos:Vector<Photo> users:Vector<User> = photos.Photos;
photos.photosSlice#15051f54 count:int photos:Vector<Photo> users:Vector<User> = photos.Photos;
---functions---
photos.getUserPhotos#b7ee553c user_id:InputUser offset:int max_id:int limit:int = photos.Photos;
Parameters
| Name | 
Type | 
Description | 
| user_id | 
InputUser | 
User 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 | 
| limit | 
int | 
Number of list elements to be returned | 
Result
photos.Photos
Possible errors
| Code | 
Type | 
Description | 
| 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. | 
Bots can use this method