2016-08-10 82 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

你可以添加幾行代碼嗎? –

回答