ChannelAvatarParams

data class ChannelAvatarParams(val channel: Channel, val modifier: Modifier = Modifier, val currentUser: User? = null, val showIndicator: Boolean = false, val showBorder: Boolean = false)

Parameters for ChatComponentFactory.ChannelAvatar.

Parameters

channel

The channel whose avatar will be displayed.

modifier

Modifier for styling.

currentUser

The user currently logged in.

showIndicator

Whether to overlay an online status indicator.

showBorder

Whether to draw a border around the avatar.

Constructors

Link copied to clipboard
constructor(channel: Channel, modifier: Modifier = Modifier, currentUser: User? = null, showIndicator: Boolean = false, showBorder: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val currentUser: User? = null
Link copied to clipboard
Link copied to clipboard
val showBorder: Boolean = false
Link copied to clipboard
val showIndicator: Boolean = false