How to get the last user input in Rasa

hi @shaiful019,

To my knowledge you have to use slots to fill in the button input, you cannot get text using tracker.latest_message[‘text’]

for more reference you can refer below:

Hope this helps