Forward Message
class ForwardMessage constructor(val body: ForwardMessage.ForwardBody, val from: DID, val to: DID, val encryptedMessage: String, val id: String = UUID.randomUUID().toString())(source)
The ForwardMessage class represents a message for forwarding data using the DIDComm protocol. It contains the necessary information for creating a forward message, including the message body, sender and recipient DIDs, encrypted message, and an optional ID.
Parameters
body
The body of the forward message.
from
The sender DID of the forward message.
to
The recipient DID of the forward message.
encrypted Message
The encrypted message to be forwarded.
id
The optional ID of the forward message. If not provided, a random UUID will be generated.
Constructors
Link copied to clipboard
constructor(body: ForwardMessage.ForwardBody, from: DID, to: DID, encryptedMessage: String, id: String = UUID.randomUUID().toString())
Functions
Link copied to clipboard
Creates a Message object with the provided data.