make Message
This function creates a new Message object based on the provided data. The Message object represents a DIDComm message, which is used for secure, decentralized communication in the Atala PRISM architecture. The function sets the id, piuri, from, to, body, attachments, and thid properties of the Message object. The id property is generated using a random UUID, and the body property is encoded as a JSON string using the Json.encodeToString function. The other properties are set based on the values passed as arguments to the function.
Return
A new Message object.