MessageSent

data class MessageSent(val id: String, val sender: String, val receiver: String, val message: String) : MessageEvent

Data class to represent a message sent 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

Constructors

Link copied to clipboard
constructor(id: String, sender: String, receiver: String, message: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard