Search
This module provides methods for conducting searches within Rainbow. Users can utilize methods provided in this module to perform various searches based on specific criteria.
Properties
A list containing the results of the search operation. This list is continuously updated in real-time as soon as API returns results. Developers can subscribe to events on the list to receive notifications. The type of elements in the list can vary depending on the search operation.
Functions
Cancels all pending requests.
Clears all search results.
Initiates a search operation with the specified query and search criteria. This method implements a delay of 500ms between consecutive calls to avoid overloading the server. If the method is called again within the 500ms delay period, the previous search task is cancelled.
Searches for channels by name.
Searches for contacts by name.
Searches for rooms by name.
Searches for text within a conversation.