elizarov
fun sendContacts(contacts: Set<Contact>) { contacts.map(Contact::getId).toSet().takeIf { it.isNotEmpty() }?.let { send(it) } }