Back Up Message
The BackUpMessage
class represents a backup message that contains various properties such as ID, PIURI, from, to, fromPrior, body, extraHeaders, createdTime, expiresTime, attachments, thid, pthid, ack, and direction.
This class provides methods to convert the BackUpMessage
object to a Message
object.
Constructors
Properties
The attachments of the backup message as an array of AttachmentDescriptor
objects.
The body of the backup message.
The timestamp of when the backup message was created, represented as a string of epoch seconds.
The direction of the backup message, represented by the Message.Direction
enum class.
The timestamp of when the backup message expires, represented as a string of epoch seconds.
Additional headers of the backup message as a key-value map.
The previous DID of the sender, if any.
The ID of the backup message. If not provided, a random UUID will be generated.