getTotalMessageCount

suspend fun getTotalMessageCount(contactKeys: List<String>): Int(source)

Get the total message count for a list of contact keys. This queries the repository directly, so it works even if a contact isn't currently loaded in the list.