createPersonalDirectoryContact

abstract fun createPersonalDirectoryContact(contact: DirectoryContactEntry, listener: RainbowListener<IRainbowContact, Unit>? = null)

Creates a personal directory contact.

This method creates a personal directory contact based on the provided DirectoryContactEntry.

Parameters

contact

The DirectoryContactEntry representing the contact to be created.

listener

RainbowListener (optional) callback invoked upon completion of the operation. Set to null if not required.