progressChanged

var progressChanged: (attachmentId: Int, progress: Int, total: Int) -> Unit? = null

This callback is called once the message has an attachment that will be uploaded.