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

x/mtkruto/mod.ts>Client#upload

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.upload
import { Client } from "https://deno.land/x/mtkruto@0.1.101/mod.ts";

Upload a file.

Parameters

contents: Uint8Array

The contents of the file.

optional
params: { fileName?: string; chunkSize?: number; signal?: AbortSignal | null; }