I have to implement chat functionality in my existing app using firebase firestore but there are 2 cases:
- create private chat- in this case i have the recyclerview that contain user list while i select particular user then start communication in current user & selected user.
- group chat- in this case i have food item list & each food item has user list who send request to that food item now i want to allow current user to create group chat by adding those user who send request to that food item.
how to achieve those thing.