send File
fun sendFile(fileInfo: Session.FileInfo, data: ByteArray): SentInvitation
Content copied to clipboard
Invites the contact to a file transfer and sends the data once the contact accepts
Return
Parameters
file Info
relevant file information for the contact
data
Data to be sent