How to implement dispatcher.utter_button_template() in actions.py?

How to implement dispatcher.utter_button_template() in actions.py? within domain.yml templates: utter_login_cinfirm:

  • text: “It seems that you are facing login issue.Am I correct?” buttons:
    • title: “Yes” payload: “/intent_affirm”
    • title: “No” payload: “/intent_deny”

For the above utter I want to use dispatcher.utter_button_template() . How to implement that?