Skip to content

export TypeAlias

InputFile ​

This object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.

Additional Information ​

Refer to this guide on how to upload files.

string | File

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.