MyUnknownMessageItem

fun MyUnknownMessageItem(message: UikitBaseMessage, modifier: Modifier = Modifier, onMessageClick: (UikitBaseMessage) -> Unit = {}, onMessageLongClick: (UikitBaseMessage) -> Unit = {}, textBackgroundColor: Color = MaterialTheme.colorScheme.primary, messageGroupingPosition: MessageGroupingPosition = MessageGroupingPosition.Single)

A Composable to display the current user's unknown type of message using the MyMessageItem.

Since

1.0.0

Parameters

message

The UikitBaseMessage to display.

modifier

The modifier to be applied to the view.

onMessageClick

The handler for when the message is clicked.

onMessageLongClick

The handler for when the message is long clicked.

textBackgroundColor

The background color of the text message.

messageGroupingPosition

The position of the message in the message group.

See also