Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.1/src/utils.ts";

Parameters

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

Returns

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