Home > borogove > Client > findAvailableChats
Client.findAvailableChats() method
Search for chats the user can start or join
Signature:
findAvailableChats(q: string, callback: (arg0: string, arg1: borogove.AvailableChat[]) => boolean): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| q | string | the search query to use |
| callback | (arg0: string, arg1: borogove.AvailableChat[]) => boolean | takes two arguments, the query that was used and the array of results |
Returns:
void