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

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

Use this object to download a photo with upload.getFile method

Constructors

new
InputPhotoFileLocation_(params: { id: bigint; access_hash: bigint; file_reference: Uint8Array; thumb_size: string; })

Properties

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

Photo's access hash, obtained from the photo object

file_reference: Uint8Array
id: bigint

Photo ID, obtained from the photo object

thumb_size: string

The PhotoSize to download: must be set to the type field of the desired PhotoSize object of the photo

Static Properties

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