ChannelAvatarParams

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

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.