search

Perform a search in Front.

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

Parameters

Parameter

Type

Description

query

String

The search query

cancelToken

Cancel token

Token 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.