My Unknown Message Item
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-beta.1
Parameters
message
The UikitBaseMessage to display.
modifier
The modifier to be applied to the view.
on Message Click
The handler for when the message is clicked.
on Message Long Click
The handler for when the message is long clicked.
text Background Color
The background color of the text message.
message Grouping Position
The position of the message in the message group.