Retrieve Users by keyword in angular web application

We use the below object to search the users by keyword. Let us assume we have a user name “Ramesh Prajapati”. It does not show up on the list if we search by the last name (“Prajapati”) as of the below code snippet however it will show if we search by first name “Ramesh”

let usersRequest = new CometChat.UsersRequestBuilder()

Could you please help me with this.

1 Like

Hi Ramesh,

The search feature allows search with a beginning of the string as such it won’t allow search with the last name.
However, we have added this to our Feature Requests. Kindly upvote and track the progress of this feature on the below link -



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.