Hi team, I am implementning comtchat.I need matching for user to do chat. For example:- There are n numbers of cometchat users.Like whatsapp .Whatsapp showing a list of that users which is registered with Whatapp. So , I want to chat with any people , I just click on that and chat starts. Same as , If there are 1000 users in Cometchat.I just want a list of all users.And When I will select any user , can chat with easily. I searched in docs , A method found fetchusers but In this only those user showing who chat previously. If A want to chat with B then how they match .
You can fetch the list of all the users. The list that you are referring to is the list of recent conversations. It includes one-on-one as well as group conversations that you have had recently.
Check out our Sample App here and you should be able to see the tabs at the bottom of UI Unified component. The one labeled “Contacts” lists all the users that have been created in that particular CometChat App.
Hope that answers your question.