Message
The Message data class represents a DIDComm message, which is used for secure, decentralized communication in the Atala PRISM architecture. A Message object includes information about the sender, recipient, message body, and other metadata. Message objects are typically exchanged between DID controllers using the Mercury building block.
Constructors
Properties
Functions
Calculates the hash code for the Message object. The hash code is calculated based on the values of the object's id, piuri, from, to, fromPrior, body, extraHeaders, createdTime, expiresTimePlus, attachments, thid, pthid, and ack properties. If any of these properties is null, it is treated as 0 in the calculation.
Creates a backup message object using the provided properties.
Converts the current object to a JSON string representation.