The name of the file to be uploaded. This is what will be shown in telegram
The size of the file. this should be the exact size to not lose any information
The full path on the system to where the file is. this will be used to read the file from.
Can be left empty to use a buffer instead
in case of the no path a buffer can instead be passed instead to upload.
Generated using TypeDoc
A custom file class that mimics the browser's File class.
You should use this whenever you want to upload a file.