Add Search Feature in Users List Modal and Channel List in web widget

Hi,
I have implemented web widget in own web application. But our client requirement that they need search feature on Users List and Channel List.
How can i add search feature in Users List modal. I created UI but I am stuck on that how can implement? Have any sample code or idea about this requirement.

image

@vcs_account

Channel Search

There is a great community post here on implementing Channel search. The thread relates to UIKit however the same principles apply. In summary you can use the channelNameContains filter.

User Search

User nickname search for the whole organization is possible via the nicknameStartsWith filter being applied to the applicationUserListQuery