How do I know the name of the selected button … ?
The name of a button is stored in title.
Each button in the list of
buttonsshould have two keys:
title: The text displayed on the buttons that the user sees.payload: The message sent from the user to the assistant when the button is clicked.