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

x/grm/src/utils.ts>getFileInfo

MTProto API Client for Deno 🦕
Go to Latest
function getFileInfo
import { getFileInfo } from "https://deno.land/x/grm@0.5.2/src/utils.ts";

Parameters

fileLocation:
| Api.Message
| Api.MessageMediaDocument
| Api.MessageMediaPhoto
| Api.TypeInputFileLocation

Returns

{ dcId?: number; location: Api.TypeInputFileLocation; size?: bigInt.BigInteger; }