Vijay
Vijay

Reputation: 1088

Skype for Business bot with Python via Bot Channels Registration

I've a bot that is created in Python and I currently have REST API for any UI to connect to the bot. I'm planning to host the bot on Skype For Business using bot channels Registration and could not find a guide on how to do this properly.

I'm limited to Python due to custom ML and NLP we've included for the bot and also due to limited knowledge of C# or Node.

What I tried:

I've tried using the Bot Framework's REST approach to send the responses and it worked in Web Chat.

Is this the way to go?

My concern here is that the BOT Framework is now deprecated and all the bots are supposed to move to Bot Service.

Upvotes: 1

Views: 3770

Answers (2)

Petri
Petri

Reputation: 5016

I would suggest using opsdroid with the opsdroid-skype extension. It uses the Microsoft bot framework SDK v4 for Python.

To deploy the bot, create and configure a Bot Channels Registration resource in Azure. Make sure you:

  • enter the correct full 'Messaging endpoint' URL in settings
  • test the bot (see 'Test in Web Chat')
  • enter the bot Microsoft Application Id & Password into your opsdroid config; you may need to click the 'Manage' link in the bot registration settings to access the password
  • add a Skype 'channel' to the registration resource (there is NO NEED to configure it in any way or publish it!)

After completing the above steps, visit your bot endpoint using a web browser; you will be redirected to a Microsoft-hosted page for adding the bot as a Skype contact.

Upvotes: 2

Genady
Genady

Reputation: 26

If you were able to make your bot work with the Direct Line API or WebChat, it would also work with Skype for Business. Please follow these instructions

Upvotes: 0

Related Questions