Observe active conversations

Shows the count of active conversations.

You can return the conversation ids of active conversations of the current user.

Kustomer.chatProvider.getOpenConversationCount { result in
    if case .success(let count) = result {
        print("\(count) open conversations")
    }
}

📘

Use ChatProvider to add listeners for new conversations

You can also add listeners for newly created conversations within the SDK using ChatProvider from the Kustomer Core SDK.

To learn more, see Build your own UI.