ReadReceipt

@Serializable
data class ReadReceipt(val partnerId: Long, val messageId: MessageId, val readTimestamp: SmpTimestamp) : SmpContent

Represents a read receipt in the Satellite Message Protocol.

This class encapsulates a confirmation that a message has been read by its intended recipient. It includes information about which message was read, by whom, and when the reading occurred.

Constructors

Link copied to clipboard
constructor(partnerId: Long, messageId: MessageId, readTimestamp: SmpTimestamp)

Types

Link copied to clipboard

Properties

Link copied to clipboard

The type of content represented by this instance.

Link copied to clipboard

The unique identifier of the read message.

Link copied to clipboard

The unique identifier of the message sender/recipient. Typically represented as a numeric mobile number (e.g., 11234567890 for the formatted number +1 123 456 7890).

Link copied to clipboard

The timestamp when the message was read by the recipient.

Functions

Link copied to clipboard
fun createSmpHeader(messageCounter: Int, eventTimestamp: SmpTimestamp, version: Int = 1, ackFlag: Boolean = false): SmpHeader

Creates an SMP header for this content.