downloadContent
open fun downloadContent(@NonNull event: Event, id: Long, @NonNull callback: ContentStatusCallback): MediaTransferHandle
Starts download of an attachment.
Return
true if the attachment download started successfully or false if the attachment cannot be downloaded or was already downloaded.
Parameters
event
Event with the attachment.
id
The attachment id to download.
callback
The attachment download status callback.