DownloadAttachment

data class DownloadAttachment(val downloadAttachmentCall: () -> Call<Unit>) : MessageListViewModel.Event

When the user downloads an attachment.

Parameters

downloadAttachmentCall

A handler for downloading that returns a Call with the option of asynchronous operation.

Constructors

Link copied to clipboard
constructor(downloadAttachmentCall: () -> Call<Unit>)

Properties

Link copied to clipboard
val downloadAttachmentCall: () -> Call<Unit>