Message
data class Message(val messageType: MessageType, val sourceUuid: UUID, val sourceMsisdn: Msisdn, val sourceDeviceId: Int, val destination: UUID, val destinationDeviceId: Int, val destinationRegistrationId: RegistrationId, val content: String, val timestamp: Long)
Represents the message-dto, which a server-client sends.
Constructors
Link copied to clipboard
constructor(messageType: MessageType, sourceUuid: UUID, sourceMsisdn: Msisdn, sourceDeviceId: Int, destination: UUID, destinationDeviceId: Int, destinationRegistrationId: RegistrationId, content: String, timestamp: Long)
Properties
Link copied to clipboard
The destination's UUID.
Link copied to clipboard
The destination's deviceId.
Link copied to clipboard
The destination's device registrationId.
Link copied to clipboard
The MessageType of the Message.
Link copied to clipboard
The source's deviceId.
Link copied to clipboard
The source's Msisdn.
Link copied to clipboard
The source's UUID.