Use this topic when you want to send payload data in any format to be first parsed by a specific script.

Syntax
.publish(/topic/, /message/)

Arguments

Field name
Type
Description
topic
string
The topic of the message.
message
string
The message to be sent.
bucket
string
[optional]
The bucket id to receive the message. 

Returns {Promise<JSON>}