Search code examples
botslyncskype-for-businessucwa

Skype for Business Online - Send and Receive message using UCWA


I am trying to build a BOT like service for "Skype For Business". As of now Microsoft BOT Framework doesn't have out of the box channel for this. Searching in the internet, I found following nice workaround to tackel such problem Using Lync Server 2013 SDK. http://devopssnippets.blogspot.jp/2016/08/integrating-lyncskype-for-business-with.html#.WIW3PXKtTjE

But in my case, I have "Skype For Business Online" in Office365 where Lync Server 2013 SDK is not supported.

UCWA web API seems to be available for "Skype For Business Online". Using this API, I want to receive IM and forward this to my existing BOT by using DirectLine API. And finally I want to reply the skype user with the response from the DirectLine API.

So, here what I am curious to know that whether it is possible to receive message from user and send message to user by using UCWA.


Solution

  • Yes, it is possible to send and receive messages using UCWA API if you are using Skype For Business. You can implement the UCWA API and then whenever you receive any message, you can forward them to the bot. And after you receive a message back from your bot, you can forward that to the user.

    Here are some links that might be of help.

    Setting up Skype for Business Online using Skype WebSDK

    Skype For Business Step By Step

    Official UCWA site with examples and steps