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

x/mtkruto/3_types.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.2.24/3_types.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>