ChannelAttachmentsViewController
constructor(cid: String, attachmentTypes: List<String>, localFilter: (attachment: Attachment) -> Boolean = { true }, chatClient: ChatClient = ChatClient.instance(), scope: CoroutineScope)
Parameters
cid
The full channel identifier (e.g., "messaging:123").
attachmentTypes
The list of attachment types to filter by.
localFilter
A function to filter attachments locally after fetching.
chatClient
The ChatClient instance used for interacting with the chat API.
scope
The CoroutineScope used for launching coroutines.