ChannelAttachmentsViewModelFactory

constructor(cid: String, attachmentTypes: List<String>, localFilter: (attachment: Attachment) -> Boolean = { true })

Parameters

cid

The full channel identifier (e.g., "messaging:123").

attachmentTypes

The list of attachment types (e.g., "image", "file").

localFilter

A function to filter attachments locally after fetching.