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

Function downloadAsStream

  • downloadAsStream(
        client: ITelegramClient,
        location: FileDownloadLocation,
        params?: FileDownloadParameters,
    ): ReadableStream<Uint8Array>
  • Download a file and return it as a @fuman/io stream, streaming file contents.

    Parameters

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

      File download parameters

    Returns ReadableStream<Uint8Array>

    • Defined in packages/core/src/highlevel/methods/files/download-stream.ts:13

Settings

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

Generated using TypeDoc