get Contact From Unique Id
Retrieves a contact based on their unique identifier.
This method searches for a contact with the specified unique identifier. The contact can be retrieved from the cache if it's present in the user's roster, designated as a personal contact, or fetched from the server using the fetchContactDataById method.
For a Rainbow contact, the unique ID corresponds to its JID; for contacts in other directories (office, office365, personal contacts, and phone contacts), it's a calculated identifier.
Return
The IRainbowContact object corresponding to the specified unique identifier, or null if the contact is not found.
Parameters
unique Id
The unique identifier of the contact to retrieve.