I can fetch the last user-inputted data from RASA chatbot using this method.
text = tracker.latest_message['text']
It's working perfectly in my case. Now I want to fetch the text of a button pressed by the user. For example, if the user presses the allion button, I want my text
variable to hold as text = "allion"
.
Is there any preferable solution?