Package-level declarations

Functions

Link copied to clipboard
fun HatangChatLauncher(modifier: Modifier = Modifier, onClick: () -> Unit? = null, showBadge: Boolean = true, engine: ChatEngine? = null, icon: @Composable () -> Unit? = null)

A floating chat button with an unread badge. Place it over your content (for example Modifier.align(Alignment.BottomEnd).padding(16.dp) in a Box, or as a Scaffold FAB). Tapping calls onClick, or HatangChat.open.