MessageManager

Class

The MessageManager is used to manage message and message action. When you need to publish a message in widget, you can use MessageManager.getInstance().publishMessage() .

Methods

MethodReturnsNotes
Promise<void>

Publish a message: the registered message actions that match will be executed.

publishMessage

Class Method
publishMessage(messageMessage): Promise<void>

Publish a message: the registered message actions that match will be executed.

Parameters
ParameterTypeNotes
message
Message

The message to be published.

Returns 
Promise<void>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.