MessageAttachmentsContent

fun MessageAttachmentsContent(message: Message, onLongItemClick: (Message) -> Unit, onMediaGalleryPreviewResult: (MediaGalleryPreviewResult?) -> Unit = {})

Represents the content that's shown in message attachments. We decide if we need to show link previews or other attachments.

Parameters

message

The message that contains the attachments.

onLongItemClick

Handler for long item taps on this content.

onMediaGalleryPreviewResult

Handler when the user selects a message option in the Media Gallery Preview screen.