• Preparing search index...
  • The search index is not available
Documentation - v0.23.3
  • Documentation
  • @mtcute/bun
  • methods
  • downloadAsNodeStream

Function downloadAsNodeStream

  • downloadAsNodeStream(
        client: ITelegramClient,
        location: FileDownloadLocation,
        params?: FileDownloadParameters,
    ): Readable
  • Download a remote file as a Node.js Readable stream (discouraged under Bun, since Web Streams are first-class).

    Parameters

    • client: ITelegramClient
    • location: FileDownloadLocation
    • Optionalparams: FileDownloadParameters

      File download parameters

    Returns Readable

    • Defined in packages/bun/src/methods/download-node-stream.ts:12

Settings

Member Visibility
Documentation - v0.23.3
  • Loading...

Generated using TypeDoc