-
public final class FileAttachmentItemParamsParameters for ChatComponentFactory.FileAttachmentItem.
-
-
Field Summary
Fields Modifier and Type Field Description private final Attachmentattachmentprivate final BooleanisMineprivate final Function1<Attachment, Boolean>showFileSizeprivate final Modifiermodifier
-
Constructor Summary
Constructors Constructor Description FileAttachmentItemParams(Attachment attachment, Boolean isMine, Function1<Attachment, Boolean> showFileSize, Modifier modifier)
-
Method Summary
Modifier and Type Method Description final AttachmentgetAttachment()final BooleangetIsMine()final Function1<Attachment, Boolean>getShowFileSize()final ModifiergetModifier()-
-
Constructor Detail
-
FileAttachmentItemParams
FileAttachmentItemParams(Attachment attachment, Boolean isMine, Function1<Attachment, Boolean> showFileSize, Modifier modifier)
- Parameters:
attachment- The file attachment to show.isMine- Whether the message is sent by the current user.showFileSize- Whether to show the file size.modifier- Modifier for styling.
-
-
Method Detail
-
getAttachment
final Attachment getAttachment()
-
getShowFileSize
final Function1<Attachment, Boolean> getShowFileSize()
-
getModifier
final Modifier getModifier()
-
-
-
-