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.TypeInputUserUser id
offset
: numberNumber of list elements to be skipped
maxId
: bigintIf 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
: numberNumber of list elements to be returned