QuotedMessageContent

fun QuotedMessageContent(message: Message, currentUser: User?, modifier: Modifier = Modifier, replyMessage: Message? = null, attachmentContent: @Composable (Message) -> Unit = { DefaultQuotedMessageAttachmentContent(it) }, textContent: @Composable (Message) -> Unit = { DefaultQuotedMessageTextContent( message = it, replyMessage = replyMessage, currentUser = currentUser, ) })

Represents the default quoted message content that shows an attachment preview, if available, and the message text.

Parameters

message

The quoted message to show.

currentUser

The currently logged in user.

modifier

Modifier for styling.

replyMessage

The message that contains the reply.

attachmentContent

The content for the attachment preview, if available.

textContent

The content for the text preview, or the attachment name or type.