# contactsSearched
Version: 4.3.0+
Description: a notification received after searching for contacts on the server using the searchContact2 command.
Example:
{ "event": "contactsSearched", "requestId": "1", "foundContacts": [ { "peerId": "user1@some.server", "displayName": "U1", "isInAbook" : true }, { "peerId": "user2@some.server", "displayName": "U2", "isInAbook" : true }, { "peerId": "user3@some.server", "displayName": "U3", "isInAbook" : true }, { "peerId": "user10@some.server", "displayName": "U10", "isInAbook" : false } ], "method": "event" }
Copied!
Parameter description:
requestId
- unique request identifierfoundContacts
- list of found contactspeerId
- unique identifier of the found contactdisplayName
- the display name of the found contactisInAbook
- a flag indicating the presence of a contact in the address book
See also: