Function fromLocalFile

  • The local file specified by path will be uploaded to Telegram using multipart/form-data.

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

    Parameters

    • path: string
    • Optional filename: string
      Optional

    Returns InputFile

Generated using TypeDoc