mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 14:57:20 +00:00
Add documentation
This commit is contained in:
parent
115bc9b159
commit
288d76d292
@ -3,13 +3,23 @@ package org.session.libsession.snode
|
|||||||
import org.session.libsignal.service.loki.utilities.removing05PrefixIfNeeded
|
import org.session.libsignal.service.loki.utilities.removing05PrefixIfNeeded
|
||||||
|
|
||||||
data class SnodeMessage(
|
data class SnodeMessage(
|
||||||
// The hex encoded public key of the recipient.
|
/**
|
||||||
|
* The hex encoded public key of the recipient.
|
||||||
|
*/
|
||||||
val recipient: String,
|
val recipient: String,
|
||||||
// The content of the message.
|
/**
|
||||||
|
* The content of the message.
|
||||||
|
*/
|
||||||
val data: String,
|
val data: String,
|
||||||
// The time to live for the message in milliseconds.
|
/**
|
||||||
|
* The time to live for the message in milliseconds.
|
||||||
|
*/
|
||||||
val ttl: Long,
|
val ttl: Long,
|
||||||
// When the proof of work was calculated.
|
/**
|
||||||
|
* When the proof of work was calculated.
|
||||||
|
*
|
||||||
|
* **Note:** Expressed as milliseconds since 00:00:00 UTC on 1 January 1970.
|
||||||
|
*/
|
||||||
val timestamp: Long
|
val timestamp: Long
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user