Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/mod.ts>client.uploadFile

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

Parameters

client: AbstractTelegramClient
fileParams: UploadFileParams

Returns

Promise<Api.InputFile | Api.InputFileBig>