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

x/grm/client/mod.ts>_downloadPhoto

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

Parameters

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

Returns

Promise<Buffer | string | undefined> | Buffer