MessageReceived
data class MessageReceived(val id: String, val sender: String, val receiver: String, val message: String) : MessageEvent
Data class to represent a message received event.
Parameters
id
the ID of the message
sender
the user that sends the message
receiver
the user that receives the message
message
the content of the message