FileAttachment

@Composable
fun FileAttachment(file: FilePart, modifier: Modifier = Modifier, imageHeight: Dp = 220.dp)(source)

A file part inside a message: images, videos and audio inline; documents (PDF preview, others open in an app).