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

Function downloadAsNodeStream

  • downloadAsNodeStream(
        client: ITelegramClient,
        location: FileDownloadLocation,
        params?: FileDownloadParameters,
    ): Readable
  • Download a remote file as a Node.js Readable stream.

    Parameters

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

      File download parameters

    Returns Readable

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

Settings

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

Generated using TypeDoc