sendFile

fun sendFile(file: File): Completable

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

Return

A completable that will emit when the request is processed. In case of error, it will emit a SippoResourceError.

Parameters

file

file to be uploaded and sent.