Skip to content

searchContacts

Sahri Riza Umami edited this page Mar 15, 2017 · 3 revisions

Searches for specified query in the first name, last name and username of the known user contacts.

searchContacts(query, limit)
Option Description
query Query to search for, can be empty to return all contacts.
limit Maximum number of users to be returned.

Example

  • Search for "Mimin" in known user contacts. Limit the results to 5.

    searchContacts('Mimin', 5)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally