2016-08-10 85 views
1

我发送此帖子请求,所有卡片如缩略图,旋转木马,英雄出现,但卡片图像未显示。我尝试了很多不同的东西,但没有任何工作。Skype bot卡片图片未显示

我在python中创建一个bot,一切工作正常接受这个问题。

这些是我寻找寻找问题的一些链接。但似乎我正在做正确的翻译。任何帮助?

https://docs.botframework.com/en-us/skype/chat/#navtitle

{ 
'text': 'testinglookssuccessful', 
'type': 'message/card.carousel', 
'attachments': [{ 
    'content': { 
     'images': [{ 
      'image': 'https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Seattlenighttimequeenanne.jpg/320px-Seattlenighttimequeenanne.jpg', 
      'alt': 'hello' 
     }], 
     'text': 'cardtext', 
     'buttons': [{ 
      'type': 'imBack', 
      'value': 'testingsuccess', 
      'title': 'test1' 
     }], 
     'subtitle': 'herocardsubtitle', 
     'title': 'herocardtest' 
    }, 
    'contentType': 'application/vnd.microsoft.card.hero' 
}], 
'summary': 'thisismyfirstskypebot'} 

这是显示出来,当我把它通过机器人对Skype。

screenshot for Skype test bot for hero card

+0

你使用哪个版本的Skype? –

+0

我使用https://web.skype.com/en/ beta版来测试最新的V3功能。 – Puneet

+0

你可以添加几行代码吗? –

回答