MediaAttachmentContent
Displays a preview of single or multiple video or attachments.
Parameters
The state of the attachment, holding the root modifier, the message and the onLongItemClick handler.
The modifier used for styling.
The maximum number of thumbnails that can be displayed in a group when previewing Media attachments in the message list.
Used by the media gallery. If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it. Set to false by default.
Lambda called when an item gets clicked.
Represents the content overlaid above individual items. By default it is used to display a play button over video previews.
Deprecated
Use the overload that takes onItemClick as a single parameter of type MediaAttachmentClickData.
Replace with
MediaAttachmentContent(state = attachmentState, modifier = modifier, maximumNumberOfPreviewedItems = maximumNumberOfPreviewedItems, skipEnrichUrl = skipEnrichUrl, onItemClick = onItemClick, itemOverlayContent = itemOverlayContent)
Displays a preview of single or multiple video or attachments.
Parameters
The state of the attachment, holding the root modifier, the message and the onLongItemClick handler.
The modifier used for styling.
The maximum number of thumbnails that can be displayed in a group when previewing Media attachments in the message list.
Used by the media gallery. If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it. Set to false by default.
Lambda called when an item gets clicked.
Represents the content overlaid above individual items. By default it is used to display a play button over video previews.