Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>photos_getUserPhotos_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class photos_getUserPhotos_
extends Function_<enums.photos.Photos>
import { photos_getUserPhotos_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Returns the list of user photos.

Constructors

new
photos_getUserPhotos_(params: { user_id: enums.InputUser; offset: number; max_id: bigint; limit: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
limit: number

Number of list elements to be returned

max_id: 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 max_id can be fetched.

offset: number

Number of list elements to be skipped

user_id: enums.InputUser

User ID

Static Properties

__F: (params: { user_id: enums.InputUser; offset: number; max_id: bigint; limit: number; }) => enums.photos.Photos
readonly
[name]: string
readonly
[paramDesc]: ParamDesc