Returns users found by username substring.
Method schema is available as of layer 18. Switch ยป
| Name | Type | Description |
|---|---|---|
| q | string | Target substring |
| limit | int | Maximum number of users to be returned |
This method will exclude the current user's contacts from the search results. It is assumed that searches among the user's contacts can be handled locally by the client.
| Code | Type | Description |
|---|---|---|
| 400 | QUERY_TOO_SHORT | The query string is too short. |
| 400 | SEARCH_QUERY_EMPTY | The search query is empty. |