Our Team is trying to figure out a way to integrate the Programmable Chat of Twilio to our website (A RealEstate listing website).
UseCases:
- Tenant(User) should be able to send message to the landlord(User) for asking the queries. Landlord should accept the chat invite first to start the communication.
- There should be 1:1 private chat communication between different kind of Users.(T-L or L-L or T-T).
Approaches:
-
For the first usecase we can have 1:1 channel with userFriendly name and add both T as well as L to the channel. In addition to this we can also attach property listing meta info while creating channel.
-
For the second usecase, we can still have 1:1 channel with the L-L, T-T or T-L but without property meta associated.
Questions for the First Approach:
-
Is there any other better approach that my team can consider to decrease the number of channel creations.
-
How do we show the invitation dialogue box to the invited user?
Questions for the Second Approach:
- How to we show different names on the both user side. For example on Tenant side we will show landlord name and on landlord side we will show Tenant name in case of T-L 1:1 chat.
Please comment for further information and thank you in advance for helping out in anyway.
Aucun commentaire:
Enregistrer un commentaire