MessageReceived

constructor(id: String, sender: String, receiver: String, message: String)

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