HatangChatScreen

fun HatangChatScreen(modifier: Modifier = Modifier, conversationId: String? = null, onClose: () -> Unit? = null, title: String? = null, engine: ChatEngine? = null, themeMode: HatangChatThemeMode? = null, theme: HatangChatTheme? = null, darkTheme: HatangChatTheme? = null, strings: Map<HatangLocale, HatangChatStrings>? = null)

The full chat screen: top bar with the site name and availability, the conversation and the composer. HatangChat.open shows it in its own activity; hosts with their own navigation can place it directly (it draws edge-to-edge and pads for the status bar, navigation bar and keyboard itself).

Parameters

conversationId

conversation to show (default: the active one).

onClose

shows a close button that calls it (null hides it).

title

title override (default: the site name).

engine

engine override (default: HatangChat.engine), for tests or several sites.