Skip to content

Message#

Display a message to inform the user.

Name Description Mandatory Type Possible Values Default Value
message Message to show to the user N String Object[]
messageKey Key that points to the answers object containing the message to send to the GUI N String
messageType Type of message provided. Necessary to explain the gui how to render it N Enum String
Entities
String

Warning

Either message or a messageKey must be provided. if both are present, only message will be used.

Example snippets#

{
    "type": "Message",
    "settings": {
        "message": "Hello World"
    },
    "next": "NextStep"
}
{
    "type": "Message",
    "settings": {
        "messageType": "Entities",
        "message": [{
            "$type": "...",
            "id": "14876234821"
        }]
    },
    "next": "NextStep"
}