Properties

attributes

non-null Object

User-defined attributes published with the message, if any.

data

string

The data payload of this message object as a base64-encoded string.

json

any type

The JSON data payload of this message object, if any.

Method

toJSON

toJSON() returns Object

Returns a JSON-serializable representation of this object.

Returns

non-null Object A JSON-serializable representation of this object.