Skip to main content


The function allows you to add buttons to the bot response.

The function gets an object describing the button:

  • text — button name;
  • transition, url — transition path when clicking on the button.

Please note that the text key is required for objects passed in the $reactions.buttons function.

How to use
$reactions.buttons("One button")
$reactions.buttons(["One button", "And another in the same line"])
button: {
text: "Send contact information", // Required
request_contact: true
text: "Transition button", // Required
transition: "/state"
text: "Button 1" // Required
}, {
text: "Button 2", // Required
request_contact: true