photos.GetUserPhotos#

class pyrogram.raw.functions.photos.GetUserPhotos#

Returns the list of user photos.

Details:
  • Layer: 158

  • ID: 91CD32A8

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