botframework - MS Bot: receive file via Skype connector -
does know how accept file received ms bot via skype connector? on bot side looks url files, need instruction how authorize access them:
attachment: { "contenttype": "application/octet-stream", "contenturl": "https://df-apis.skype.com/v2/attachments/0-weu-d1-8ce3f64a740658ec8f227311edacc258/views/original", "thumbnailurl": "https://df-apis.skype.com/v2/attachments/0-weu-d1-8ce3f64a740658ec8f227311edacc258/views/thumbnail" }
the skype attachment urls secured jwttoken, should set jwttoken of bot authorization header request bot initiates fetch image. see following sample code.
Comments
Post a Comment