Function: searchRecipients()
ts
function searchRecipients(
client,
query,
mode?
): Promise<object[]>;Searches the people the account can message, ranked, for a free-text query.
Parameters
| Parameter | Type | Default value |
|---|---|---|
client | PrivateClient | undefined |
query | string | undefined |
mode? | RecipientSearchMode | 'universal' |
Returns
Promise<object[]>