How do I define custom action for button defined in templates of domain.yml? I want to define it actions.py instead of domain.yml.
action_mark_done:
-
text: “Would you like to continue?”
buttons:
-
title: “Yes”
payload: ‘/mark_done{“choice”: “yes”}’
-
title: “No”
payload: ‘/mark_done{“choice”: “no”}’
-