DeliveryReceipt

@Serializable
data class DeliveryReceipt(val partnerId: Long, val messageId: MessageId, val deliveryTimestamp: SmpTimestamp) : SmpContent

Represents a delivery receipt in the Satellite Message Protocol.

This class encapsulates a confirmation that a message has been successfully delivered to its intended recipient. It includes information about which message was delivered, to whom, and when the delivery occurred.

Constructors

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

Types

Link copied to clipboard

Properties

Link copied to clipboard

The type of content represented by this instance.

Link copied to clipboard

The timestamp when the message was successfully delivered.

Link copied to clipboard

The unique identifier of the delivered 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).

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.