How to create button payload of yaml to model o/p

I prepared a model using rasa where all the responses are given from the yaml file itself.Now I’m using my model as the rest api where all the buttons are given in array of json (unable to identify the buttons and message). Can get the payload of button with that json array itself by using any of rasa component ?