search

Perform a search in Front.

function search(query: string, cancelToken?: CancelToken): Promise<void>;

Parameters

ParameterTypeDescription
queryStringThe search query
cancelTokenCancel tokenToken to cancel the request.

The search will be executed on all the conversations the user has access to.

Return value

The function returns a Promise that resolves when the request has been received by Front.