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

x/mtkruto/mod.ts>FileSource

Cross-runtime JavaScript library for building Telegram clients
Latest
type alias FileSource
Re-export
import { type FileSource } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";

Source to a file. Can be a file ID, a file path, URL, a Uint8Array, a potentially async Uint8Array iterator, or a readable stream of Uint8Array, unless otherwise noted.

definition:
| string
| URL
| Uint8Array
| Iterable<Uint8Array>
| AsyncIterable<Uint8Array>
| ReadableStream<Uint8Array>