Microsoft Teams / Cards

Hi!

So I managed to integrate my Bot in Micrsoft Teams. But I noticed that I can’t “add” buttons in Teams. I tried in Rasa X and their is does work

image

Microsoft Teams: image

Is there anything I can do about it?

Hi, are you using the botframework channel as described here, or otherwise which messaging channel are you using? And what does your response with the buttons look like in the domain?

What the botframework channel uses to send a response with buttons is a “Hero Card” (Cards Reference - Teams | Microsoft Docs), so the buttons have to be “action objects” (Add card actions in a bot - Teams | Microsoft Docs).

If you want your buttons to send a message to the bot when clicked, they should be messageBack actions (Add card actions in a bot - Teams | Microsoft Docs), e.g. like this:

buttons:
  - "type": "messageBack"
    "title": "Is it up-to-date"
    "text": "<insert your payload here>"
  - "type": "messageBack"
    "title": "Description"
    "text": "<some other payload>"

Does this help you with your question?

Yes! It does, I forget to put in the Type MessageBack image