microsoft/BotBuilder-Samples

How to download live recorded video from teams in bot.

ShobharajaNagarro opened this issue · 1 comments

How to download the live recorded video in bot composer or SDK.
For example to download attachment in bot we usually get contentUrl or downloadUrl properties in Activity.Attachments

I'm getting following info in Activity.Attachemnts

[ { "contentType": "text/html", "content": "<div><video src=\"https://as-api.asm.skype.com/v1/objects/x-xx-xx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/views/video\" itemscope=\"\" itemtype=\"http://schema.skype.com/AMSVideo\" data-duration=\"PT1.406S\" width=\"1280\" height=\"720\">\r\nVideo-Clip</video></div>" } ]

image