GetUserPhotos

class pyrogram.raw.functions.photos.GetUserPhotos

Returns the list of user photos.

Details
  • Layer: 122

  • ID: 0x91cd32a8

Parameters
  • user_id (InputUser) – User ID.

  • offset (int 32-bit) – Number of list elements to be skipped.

  • max_id (int 64-bit) – If a positive value was transferred, the method will return only photos with IDs less than the set one.

  • limit (int 32-bit) – Number of list elements to be returned.

Returns

photos.Photos – Object contains list of photos with auxiliary data.