Tuesday, 4 April 2017

Botframework Skype card carousel buttons openUrl not working

I am using botframework and node.js to build chatbot, and I need to use carousel with cards.

On other platforms like webchat, buttons with type openUrl opens urls in browser, but when clicking on button on Skype no action happening.

this is my card object

    {
        contentType: "application/vnd.microsoft.card.thumbnail",
        content: {
            title: news.title,
            images: [
              {
                url: news.image && news.image.url
              }
            ],
            buttons: [
              {
                type: "openUrl",
                title: "Click to open",
                value: news.url
              }
            ]
        }
    }

is there anything wrong in my button object or how can I fix issue?

Thanks in advance!



via Aren Hovsepyan

No comments:

Post a Comment