sendFileProgress

Uploads the file and sends its URI as a message to this chat.

Parameters

file

file to be uploaded and sent.

listener

A callback that will be invoked when the state of the current upload changes. The callback will be passed a FileUploadState object that represents the new state of the upload.