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

x/mtkruto/tl/2_types.ts>UserProfilePhoto_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class UserProfilePhoto_
import { UserProfilePhoto_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

User profile photo.

Constructors

new
UserProfilePhoto_(params: { has_video?: true; personal?: true; photo_id: bigint; stripped_thumb?: Uint8Array; dc_id: number; })

Properties

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

DC ID where the photo is stored

optional
has_video: true

Whether an animated profile picture is available for this user

optional
personal: true

Whether this profile photo is only visible to us (i.e. it was set using photos.uploadContactProfilePhoto).

photo_id: bigint

Identifier of the respective photo

optional
stripped_thumb: Uint8Array

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc