Send Choice

Our platform lets you prompt visitor with a set of up-to 10 choices

ctx.sendChoice("Your text message", [{
            "title" : "Choice1",
            "value": "Choice1Value"
        }, {
            "title" : "Choice2",
            "value": "Choice2Value"
        }, {
            "title" : "Choice3",
            "value": "Choice3Value"
        }], variableName, requied);
Parameter
Description

TextMessage

Text message to prompted

Buttons

Set of buttons

VariableName

Name of the variable in which the value will be saved when a button is clicked

required

true or false; default false

Last updated