uploadFile
Uploads a file not related to any channel. Progress can be accessed via progressCallback.
Return
Executable async Call which completes with Result containing an instance of UploadedFile if the file was successfully uploaded.
Parameters
file
The file to be uploaded.
progressCallback
The callback to be invoked periodically to report upload progress.