ChannelAvatar
The default avatar for a channel.
This component displays the channel image, the user avatar for direct messages, or a placeholder.
Parameters
The channel whose avatar will be displayed.
The user currently logged in.
The modifier to be applied to this layout.
The presence indicator to overlay on the avatar. Defaults to AvatarPresenceIndicator.None.
Whether to draw a border around the avatar to provide contrast against the background.
Deprecated
Use the overload that takes an AvatarPresenceIndicator. showIndicator showed a grey dot when the channel was offline; pass an explicit indicator (AvatarPresenceIndicator.Online, Offline, or None) to control the presence states.
The default avatar for a channel.
Parameters
The channel whose avatar will be displayed.
The user currently logged in.
The modifier to be applied to this layout.
Whether to overlay a status indicator to show whether the user is online for 1:1 channels.
Whether to draw a border around the avatar to provide contrast against the background.