Message Bubble
fun MessageBubble(chatMessage: Message, sentBySelf: Boolean, messageContent: @Composable () -> Unit, sender: String, modifier: Modifier)
Composable function displaying an individual message bubble.
Parameters
chat Message
The Message object containing message data.
sent By Self
Boolean indicating whether the message was sent by the current user.
message Content
Composable lambda for rendering the message content.
sender
Name of the sender of the message.
modifier
Modifier to apply to the message bubble.