Rasa response as List items like buttons and attachments

How can I emit List of items in output. Like emitting Buttons and Attachments.

When users asks the bot What can you do then bot replies the list of services. Like in google assistant bot.

I am new to the community, please help me, if anything i am thinking wrong please let me know. Thanks

Hi @azharameen ! you have a couple of options:

  1. create a custom action which calls dispatcher.utter_message multiple times.

  2. keep these messages as separate actions, and include all of them in your story:

* greet
  - utter_greet
* ask_what_can_you_do
  - utter_option_1
  - utter_option_2
  - utter_option3
* thank_you
  - utter_you_are_welcome

For sending buttons, cards, and other attachments, you can use the utter_elements method to send custom json to the channel.