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

x/grm/mod.ts>client._downloadPhoto

MTProto API Client for Deno 🦕
Latest
function client._downloadPhoto
import { client } from "https://deno.land/x/grm@0.8.2/mod.ts";
const { _downloadPhoto } = client;

Parameters

optional
file: OutFile
optional
date: number
optional
thumb: number | string | Api.TypePhotoSize
optional
progressCallback: progressCallback

Returns

Promise<Buffer | string | undefined> | Buffer