## Search `$client->search(string query): BeeperDesktopClientServiceSearchResponse` **get** `/v1/search` Returns matching chats, participant name matches in groups, and the first page of messages in one call. Paginate messages via search-messages. Paginate chats via search-chats. ### Parameters - `query: string` User-typed search text. Literal word matching (non-semantic). ### Returns - `BeeperDesktopClientServiceSearchResponse` - `Results results` ### Example ```php search(query: 'x'); var_dump($response); ```