viewComponents
A container for customizing the Composable components rendered in the messaging UI.
Override individual components in ViewComponents to replace or augment the default chat feed entries, top app bar, or conversation-closed view. Defaults to ViewComponents.Default which renders the standard SDK UI.
See also
Samples
uiClient.viewComponents = object : ViewComponents {
@Composable
override fun ChatTopAppBar(content: @Composable () -> Unit) {
// Replace with a custom top app bar
}
}Content copied to clipboard