Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Microphone. Enabled by default. Uncheck to disable it.

  • Keyboard. Enabled by default. Uncheck to disable it.

  • WaitTimeAnimation. Enabled by default. Uncheck to disable it.

  • Wait Time. Time in milliseconds before which the next bubble appears.

  • Checkboxes. By default, the multiple select card will be rendered. If you choose yes or no from the dropdown, the bot will say each option and expect a yes or no response from the user.

For the above example, The query text will be in the property msg.payload.queryResult.queryText : “10001”should be read excluding the initial placeholder digit i.e 1.

The subsequent numbers are a boolean representation of whether the option is checked or not. In this case, there are 4 options and the last option is checked.

Note: If None of the above options is checked, ‘none of the above’ will be considered as an option and a boolean digit will be added at the end. In this example, if ‘none of the aboveoption is checked in the Choices tab of option (Choose many) control, then none of the above option is checked for that question.

You can read the choices output from this control in Experience Designer using the below properties.
msg.alexaRequest.data.session.attributes.renderedButtons.choices
msg.payload.queryResult.outputContexts[0].parameters.renderedButtons.choices
msg.payload.session.attributes.renderedButtons.choices

Options (Choose One)

It causes the bot to show all the options to the user. The user must pick one of the options provided.

...