setChannel

fun setChannel(channel: Channel, currentUser: User? = ChatUI.currentUserProvider.getCurrentUser())

Sets the Channel for which we want to show the avatar.

Parameters

channel

The channel to show the avatar for.

currentUser

The currently logged in user.