Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>types.Photo

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.Photo
extends _TypePhoto
import { types } from "https://deno.land/x/mtkruto@0.0.997/mod.ts";
const { Photo } = types;

Constructors

new
Photo(params: { hasStickers?: true; id: bigint; accessHash: bigint; fileReference: Uint8Array; date: number; sizes: Array<TypePhotoSize>; videoSizes?: Array<TypeVideoSize>; dcId: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
accessHash: bigint
date: number
dcId: number
fileReference: Uint8Array
optional
hasStickers: true
id: bigint
sizes: Array<TypePhotoSize>
optional
videoSizes: Array<TypeVideoSize>

Static Properties

readonly
[paramDesc]: ParamDesc