ChannelAvatarParams

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

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.

indicator

The presence indicator to overlay on the avatar. When non-null it takes precedence over showIndicator. When null (the default), showIndicator is used for backward compatibility.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard