I'm having a hard time trying to return a conversational prompt with a card containing a link. I tried reading the documentation and followed one of your tests, but I can't get it working. This is an excerpt of my code:
conv.add(new Card({
title: "this is title",
image: new Image({
url: OPEN_STREET_MAP_LOGO,
alt: 'Open Street Map logo',
}),
button: new Link({
name: 'Learn more',
open: {
url: 'https://www.google.com/about/',
},
}),
}));
This is the JSON returned by my webhook (copied from the simulator):
Hello,
I'm having a hard time trying to return a conversational prompt with a card containing a link. I tried reading the documentation and followed one of your tests, but I can't get it working. This is an excerpt of my code:
This is the JSON returned by my webhook (copied from the simulator):
Below you can find the rendered card, without button. Am I doing something wrong here?