I’m trying to determine the best way to structure the data for my messenging system. I’ve read through a number of forum posts and everyone does it a bit differently, but I want to create conversations with one or multiple users, with the message text on the left side for all received messages, and the text on the right side for sent messages.
Is it best to build this with a data type of “Conversation” for each conversation, which would contain multiple users and the message texts? Or is there a better method?