chat
chat copied to clipboard
Return Conversation instead of Participations model
When I run the following code to get all conversation as per documentation
$conversations = Chat::conversations()->setParticipant($participantModel)->get();
It returns Participation model. It should return the Conversation model so that it can be easily feed into resources or fetch any other relevant data to the conversation.
Thank you