Receiving Images to Your Skype Botframework Bot (v2!)

added by DotNetKicks
3/14/2017 1:13:42 PM

1 Kicks, 217 Views

If you're getting a "403" HTTP error when attempting to receive an image sent to your Skype bot, and the previous use of message.ServiceUrl to create a ConnectorClient didn't work, try this more verbose version which explicitly sets the authorization header: byte[] data; if (image.ContentUrl != null) { using (var