Skype 不显示收到的图像

Skype not showing images recieved

我正在尝试创建一个机器人并将其部署到不同的平台上,但是当我 return 在聊天机器人的轮播中显示图像时,Skype 不会呈现它们,而同样适用于 Facebook 甚至在 Gupshup 提供的网络小部件上。

如果你想知道我正在使用的聊天机器人平台,它会是 Gupshup 和 api.ai 挂钩的 nlp,你知道我遇到的问题吗?

我尝试了不同的获取图像的方法。首先,我是从我为其制作聊天机器人的网站获取的,然后我尝试使用 google 缩短 url,最后我尝试以 Google drive.The 图像格式上传图像是 jpg 这可能是问题吗?

http://imgur.com/a/19aG3

[更新:7/5/2017] - Skype 问题现已解决。适用于 Facebook Messenger 的轮播代码也适用于 Skype。

Skype 轮播示例 JSON:

{
"type": "catalogue",
"msgid": "cat_212",
"items": [{
        "title": "White T Shirt",
        "subtitle": "Soft cotton t-shirt \nXs, S, M, L \n",
        "imgurl": "https://pixel.nymag.com/imgs/fashion/daily/2016/06/02/t-shirt/everlane.w710.h473.2x.jpg",
        "options": [{
                "type": "url",
                "title": "View Details",
                "url": "https://pixel.nymag.com/imgs/fashion/daily/2016/06/02/t-shirt/everlane.w710.h473.2x.jpg"
            },
            {
                "type": "text",
                "title": "Buy"
            }

        ]
    },
    {
        "title": "Grey T Shirt",
        "subtitle": "Soft cotton t-shirt \nXs, S, M, L \n",
        "imgurl": "https://cdn.shopify.com/s/files/1/0407/0829/products/Grey_t-shirt_front_1024x1024.jpg?v=1466588290",
        "options": [{
                "type": "url",
                "title": "View Details",
                "url": "https://cdn.shopify.com/s/files/1/0407/0829/products/Grey_t-shirt_front_1024x1024.jpg?v=1466588290"
            },
            {
                "type": "text",
                "title": "Buy"
            }
        ]
    }
]}

结果:

Images are not loading for the carousel on Skype because there have been recent changes in Microsoft framework which are not yet incorporated in Gupshup's bot platform. Although next week you should be able to see those images load once we at Gupshup pushes the fix into production. There will be no need of changing the code from your end as the same code for carousel works across the supported platforms.

I will update this answer once the fix is live into production.

PS: 我为 Gupshup 工作。