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>Photo_

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

Photo

Constructors

new
Photo_(params: { has_stickers?: true; id: bigint; access_hash: bigint; file_reference: Uint8Array; date: number; sizes: Array<enums.PhotoSize>; video_sizes?: Array<enums.VideoSize>; dc_id: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

Access hash

date: number

Date of upload

dc_id: number

DC ID to use for download

file_reference: Uint8Array
optional
has_stickers: true

Whether the photo has mask stickers attached to it

id: bigint

ID

sizes: Array<enums.PhotoSize>

Available sizes for download

optional
video_sizes: Array<enums.VideoSize>

For animated profiles, the MPEG4 videos

Static Properties

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