For the complete documentation index, see llms.txt. This page is also available as Markdown.

Show Replies List

Open the in-app conversations screen from a Support or Messages button in your KMP app, and check whether the user has any chats before you show it.

Show conversations screen

Call RepliesKmp.show() to open the in-app conversations screen (e.g. from a “Support” or “Messages” button):

Kotlin
RepliesKmp.show()

If the user has no conversations, behavior may depend on the native SDK (e.g. nothing happens or an empty state is shown).

Check if user has chats

Before showing a “Messages” entry or badge, you can check whether the user has any conversations:

Kotlin
scope.launch {
    if (RepliesKmp.hasChats()) {
        showRepliesMenuItem()
    }
}

Combine with RepliesKmp.onNewReply and RepliesKmp.getUnreadRepliesCount() to keep a badge or menu visibility in sync.

Last updated