ChannelAttachmentsViewModelFactory
class ChannelAttachmentsViewModelFactory(cid: String, attachmentTypes: List<String>) : ViewModelProvider.Factory
Factory for creating instances of ChannelAttachmentsViewModel.
Parameters
cid
The full channel identifier (e.g., "messaging:123").
attachmentTypes
The list of attachment types (e.g., "image", "file").