AvatarParams

data class AvatarParams(val imageUrl: String?, val showBorder: Boolean, val fallback: @Composable () -> Unit, val modifier: Modifier = Modifier)

Parameters for ChatComponentFactory.Avatar.

Parameters

imageUrl

The URL of the image to display.

showBorder

Whether to draw a border around the avatar.

fallback

The fallback content to display if the image is unavailable.

modifier

Modifier for styling.

Constructors

Link copied to clipboard
constructor(imageUrl: String?, showBorder: Boolean, fallback: @Composable () -> Unit, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
val fallback: @Composable () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard