Observe active conversation ids
Get the list of ConversationId
for open/active conversations.
You can get the list of ConversationId
's for open/active conversations for the current user.
This API returns a LiveData
of type Set<String>
and will notify your app of any changes. See the Android developer docs to learn more about LiveData.
val activeConversationIds: LiveData<Set<String>> = liveData {
emitSource(Kustomer.getInstance().observeActiveConversationIds())
}
Updated over 3 years ago