Message

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

Instant message

Constructors

Link copied to clipboard
fun Message(    sender: Contact,     content: String,     uuid: Int,     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

Link copied to clipboard
val uuid: Int

message unique id