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.8.0/src/utils.ts";

Parameters

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

Returns

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