Skip to content

Function: searchUsers() ​

ts
function searchUsers(client, query): Promise<object[]>;

Searches users by a free-text query, returning the ranked matches.

Parameters ​

ParameterType
clientPrivateClient
querystring

Returns ​

Promise<object[]>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.