Raw.photos.GetUserPhotos

Raw.photos.GetUserPhotos

Returns the list of user photos.

photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
export namespace Raw {
  export namespace photos {
    export class GetUserPhotos {
      constructor(params: {
        userId: Raw.TypeInputUser;
        offset: number;
        maxId: bigint;
        limit: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x91cd32a8

Property

  • userId : Raw.TypeInputUser

    User id

  • offset : number

    Number of list elements to be skipped

  • maxId : bigint

    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, as in conjuction with limit=1 and offset=-1 the photo object with the id specified in maxId can be fetched.

  • limit : number

    Number of list elements to be returned

Results

Raw.photos.TypePhotos

Bots can use