Function fromReadableStream

  • Contents of the stream will be uploaded as file to Telegram using multipart/form-data.

    10 MB max size for photos, 50 MB for other files.

    Parameters

    • stream: ReadableStream
    • Optional filename: string
      Optional

    Returns InputFile

Generated using TypeDoc