FileAttachmentItemParams

data class FileAttachmentItemParams(val attachment: Attachment, val isMine: Boolean, val showFileSize: (Attachment) -> Boolean, val modifier: Modifier = Modifier)

Parameters for ChatComponentFactory.FileAttachmentItem.

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.

Constructors

Link copied to clipboard
constructor(attachment: Attachment, isMine: Boolean, showFileSize: (Attachment) -> Boolean, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard