@custodio I extended your solution to also repeat button messages. My solution now looks like
class ActionRepeat(Action):
def name(self):
return "action_repeat"
def run(self, dispatcher, tracker, domain):
if len(tracker.events) >= 3:
dispatcher.utter_message(tracker.events[-3].get('text'))
data = tracker.events[-3].get('data')
if data:
if "buttons" in data:
dispatcher.utter_button_message(text=None, buttons=data["buttons"])
return []