The payload of the message body
Headers for the message
The previous sequence delivered to the client in the current batch. This value will be 0 if it was not from a batch request
The number of messages in the stream that are pending for a similar batch request. if -1, the number of pending messages is unknown and the stored message was received outside the context of a batch
The sequence number of the message in the Stream
The subject the message was originally received on
The time the message was received
The raw ISO formatted date returned by the server
Convenience method to parse the message payload as JSON. This method will throw an exception if there's a parsing error;
Optional
reviver: ReviverFnConvenience method to parse the message payload as string. This method may throw an exception if there's a conversion error
A type representing a message that retrieved directly from JetStream.