MessageComposerLinkPreview

open fun MessageComposerLinkPreview(modifier: Modifier, linkPreview: LinkPreview, onClick: (LinkPreview) -> Unit?)

Shows a preview of the link that the user has entered in the message composer. Shows the link image preview, the title of the link and its description.

Used as part of MessageComposerHeaderContent.

Parameters

modifier

The modifier to apply to the composable.

linkPreview

The link preview to show.

onClick

The action to perform when the link preview is clicked.