Buttons in custom actions

Anyone help to create buttons in custom actions. I would like display the api response like button format.

@seera you can hit the api and create the buttons in your custom actions. Refer the code snippet below

buttons = []

#append the response of API in the form of title and payload

buttons.append({“title”: ‘any_text’ , “payload”: ‘payload_value’})

#then display it using dispatcher

dispatcher.utter_message(text= “message you want to display” , buttons=buttons)

thank you.

thank you @alkak95 buttons are working fine…