MessageBubbleParams

data class MessageBubbleParams(val message: Message, val color: Color, val shape: Shape, val content: @Composable () -> Unit, val modifier: Modifier = Modifier, val border: BorderStroke? = null)

Parameters for ChatComponentFactory.MessageBubble.

Parameters

message

The message to render inside the bubble.

color

The color of the message bubble.

shape

The shape of the message bubble.

content

The content shown inside the message bubble.

modifier

Modifier for styling.

border

The border of the message bubble.

Constructors

Link copied to clipboard
constructor(message: Message, color: Color, shape: Shape, content: @Composable () -> Unit, modifier: Modifier = Modifier, border: BorderStroke? = null)

Properties

Link copied to clipboard
val border: BorderStroke? = null
Link copied to clipboard
Link copied to clipboard
val content: @Composable () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard