Message

data class Message(    val sender: Contact,     val content: String,     val time: Date = Date())

Group chat message

Constructors

Link copied to clipboard
fun Message(    sender: Contact,     content: String,     time: Date = Date())

Properties

Link copied to clipboard
val content: String

Message content

Link copied to clipboard
val sender: Contact

Contact that sent the message

Link copied to clipboard
val time: Date

Timestamp of message