sendFile

fun sendFile(fileInfo: Session.FileInfo, data: ByteArray): SentInvitation

Invites the contact to a file transfer and sends the data once the contact accepts

Return

Parameters

fileInfo

relevant file information for the contact

data

Data to be sent