Message

data class Message(val info: ServerMessageInfo, val publicMeta: ByteArray, val privateMeta: ByteArray, val data: ByteArray, val authorPubKey: String, val statusCode: Long?)

Holds information about the Message.

Constructors

Link copied to clipboard
constructor(info: ServerMessageInfo, publicMeta: ByteArray, privateMeta: ByteArray, data: ByteArray, authorPubKey: String, statusCode: Long?)

Properties

Link copied to clipboard

Public key of the author of the message

Link copied to clipboard

Message's data

Link copied to clipboard

Message's information created by server

Link copied to clipboard

Message's private metadata

Link copied to clipboard

Message's public metadata

Link copied to clipboard

Status code of retrieval and decryption of the Message

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int