Skip to content

GramIO API Reference / @gramio/files/dist / FileDownloadSource

Type Alias: FileDownloadSource

FileDownloadSource = { type: "url"; url: string; } | { path: string; type: "disk"; } | { data: ArrayBuffer | Uint8Array; type: "data"; }

Defined in: files/index.d.ts:130

A resolved file location used by TelegramFileDownload.