hi guys, am creating an app for buyers and sellers, my problem is i created two different users, buyers and sellers, i just don’t know how to implement messaging features between this two users, and possibly between a buyer and buyer or seller and seller. thanks in advance
Create new table called “Chat”,
Added fields like below,
Message -> text field,
Sender -> User,
Receiver -> User,
is Send? -> boolean.
but am having two different type of users a seller and a buyer which are of two different type
Make sellers and Buyers into single table called users and differentate by user type like seller/buyer.
if anything wrong please provide more details.
okay thanks for the quick reply, really appreciate