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

Function downloadAsIterable

  • downloadAsIterable(
        client: ITelegramClient,
        input: FileDownloadLocation,
        params?: FileDownloadParameters,
    ): AsyncIterableIterator<Uint8Array>
  • Download a file and return it as an iterable, which yields file contents in chunks of a given size. Order of the chunks is guaranteed to be consecutive.

    Parameters

    • client: ITelegramClient
    • input: FileDownloadLocation
    • Optionalparams: FileDownloadParameters

      Download parameters

    Returns AsyncIterableIterator<Uint8Array>

    • Defined in packages/core/src/highlevel/methods/files/download-iterable.ts:27

Settings

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

Generated using TypeDoc