Class: GeneralMessage

Actions. GeneralMessage

sends a message and continue. returns RUNNING until send acknowledged, SUCCESS afterwards

new GeneralMessage()

Members


parameters :Object

Node parameters
Type:
  • Object
Properties:
Name Type Description
parameters
Properties
Name Type Description
prompt ExpressionString | Object | Array.<ExpressionString> | Array.<TextObject> a textual message to the user. can contains an array for random messages. can contain an object with "language" keys.
cyclePrompts boolean if true, will show the prompts cyclicly. false: will stay on the last prompt forever.
view ExpressionString | Object a file name of a view, or a view JSON object, to be used instead of the prompt in order to send native json
image ExpressionString an html string or a file name, that is rendered as an image to send the user
imageDataArrayName MemoryField (message./global./context./volatile./local./fsm.) field name for an array object that contains data for the images
pushMessageOut boolean the message will be pushed immediately on drivers that expect answers on the response object, instead of waiting for the timeout - eg Alexa driver

Methods


close(tick)

reset a wake up flag , for session-based clients
Parameters:
Name Type Description
tick Tick

open(tick)

set a wake up flag based on the entry target, for session-based clients
Parameters:
Name Type Description
tick Tick

validators()

defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
Type
Array.<Validator>