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()
.setLimit(limit)
.setSearchKeyword(“prajapati”)
.build();
Could you please help me with this.