Skip to main content

ChatMessageFileAttachmentListView

View which holds one or more file attachment views in a message or composer attachment view

open class ChatMessageFileAttachmentListView: _View, ComponentsProvider 

Inheritance

_View, ComponentsProvider

Properties

content

Content of the attachment list - Array of ChatMessageFileAttachment

open var content: [ChatMessageFileAttachment] = [] 

didTapOnAttachment

Closure what should happen on tapping the given attachment.

open var didTapOnAttachment: ((ChatMessageFileAttachment) -> Void)?

containerStackView

Container which holds one or multiple attachment views in self.

open private(set) lazy var containerStackView: ContainerStackView = ContainerStackView().withoutAutoresizingMaskConstraints

Methods

setUpLayout()

override open func setUpLayout() 

updateContent()

override open func updateContent() 

Did you find this page helpful?