publishMessage
abstract fun publishMessage(data: JSONObject, listener: SuccessListener<String>)
Content copied to clipboard
Publish a new message to this message stream.
Parameters
data
Contains the payload of the dispatched message. Maximum size in serialized JSON: 4KB.
listener
Async result listener. See SuccessListener.