UserAvatar

open fun UserAvatar(modifier: Modifier, user: User, textStyle: TextStyle, showOnlineIndicator: Boolean, onlineIndicator: @Composable BoxScope.() -> Unit, onClick: () -> Unit?)

The default user avatar content. It renders the User avatar that's shown on the messages screen or in headers of direct messages. If showOnlineIndicator is true and the user is online, it uses Avatar to shows an image or their initials.