-
public final class MessageComposerAttachmentsParamsParameters for the ChatComponentFactory.MessageComposerAttachments component.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Attachment>attachmentsprivate final Function1<Attachment, Unit>onAttachmentRemovedprivate final Modifiermodifier
-
Constructor Summary
Constructors Constructor Description MessageComposerAttachmentsParams(List<Attachment> attachments, Function1<Attachment, Unit> onAttachmentRemoved, Modifier modifier)
-
Method Summary
Modifier and Type Method Description final List<Attachment>getAttachments()final Function1<Attachment, Unit>getOnAttachmentRemoved()final ModifiergetModifier()-
-
Constructor Detail
-
MessageComposerAttachmentsParams
MessageComposerAttachmentsParams(List<Attachment> attachments, Function1<Attachment, Unit> onAttachmentRemoved, Modifier modifier)
- Parameters:
attachments- The attachments currently selected in the composer.onAttachmentRemoved- Lambda invoked when an attachment is removed by the user.modifier- Modifier for styling.
-
-
Method Detail
-
getAttachments
final List<Attachment> getAttachments()
-
getOnAttachmentRemoved
final Function1<Attachment, Unit> getOnAttachmentRemoved()
-
getModifier
final Modifier getModifier()
-
-
-
-