PickupReceived

class PickupReceived constructor(var id: String = UUID.randomUUID().toString(), val from: DID, val to: DID, var body: PickupReceived.Body)(source)

Represents a pickup received message.

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), from: DID, to: DID, body: PickupReceived.Body)

Types

Link copied to clipboard
data class Body(var messageIdList: Array<String>)

Represents a body of a message.

Properties

Link copied to clipboard

The body of the pickup received message.

Link copied to clipboard
val from: DID

The sender's DID (Decentralized Identifier) of the pickup received message.

Link copied to clipboard
var id: String

The unique identifier of the pickup received message. If not provided, a random UUID will be generated.

Link copied to clipboard
val to: DID

The recipient's DID (Decentralized Identifier) of the pickup received message.

Link copied to clipboard

Functions

Link copied to clipboard

Creates a Message object for sending a message.