Questions tagged [botconnector]

The Microsoft Bot Connector is a communication service that helps you connect your Bot with many different communication channels (Skype, SMS, email, and others). If you write a conversational Bot or agent and expose a Microsoft Bot Framework-compatible API on the Internet, the Bot Framework Connector service will forward messages from your Bot to a user, and will send user messages back to your Bot.

The Microsoft Bot Connector is a communication service that helps you connect your Bot with many different communication channels (Skype, SMS, email, and others). If you write a conversational Bot or agent and expose a Microsoft Bot Framework-compatible API on the Internet, the Bot Framework Connector service will forward messages from your Bot to a user, and will send user messages back to your Bot.

To use the Microsoft Bot Framework Connector, you must have:

  • A Microsoft Account (Hotmail, Live, Outlook.com) to log into the Bot Framework developer portal, which you will use to register your Bot.

  • An Azure-accessible REST endpoint exposing a callback for the Connector service.

  • Developer accounts on one or more communication services(such as Skype) where your Bot will communicate.

In addition you may wish to have an Azure App Insights account so you can capture telemetry from your Bot. There are different ways to go about building a Bot; from scratch, coded directly to the Bot Connector API, the Bot Builder SDK's for Node.JS & .NET, and the Bot Connector .NET template which is what this QuickStart guide demonstrates.

46 questions
5
votes
2 answers

Creating an API for LUIS.AI or using .JSON files in order to train the bot for non-technical users

I have a bot that uses .NET, MS Bot Framework and LUIS.ai for its smarts. All's fine, except that I need to provide a way for non-technical users to train the bot and teach it new things, i.e. new intents in LUIS.ai. In other words, suppose that…
user6269864
5
votes
1 answer

Microsoft BotFramework for private apps

I would like to use Microsoft Bot Framework to build a chatbot for an app that I am building, and I do not want it to be working in Skype, Facebook or any other channels. Is that possible? And are there are cost involved.
Libin Joseph
  • 7,070
  • 5
  • 29
  • 52
5
votes
2 answers

Microsoft Bot Framework Client sdk

I am looking to use Microsoft Bot Framework in my application. However, I have a custom UI chat control (designed according to my requirements) where I need to hook up this bot.(instead of having pre-configured channels like slack or skype). Is…
ASP Peek
  • 55
  • 1
  • 4
3
votes
2 answers

Gif images don't play in Microsoft Teams

I'm using the following code to display a gif image as an attachment in my reply: Activity replyToConversation = (Activity)context.MakeMessage(); replyToConversation.Attachments = new List(); …
MVZ
  • 111
  • 1
  • 8
3
votes
1 answer

How to send user information through directline botconnector

I'm building a mobile client to talk to a bot built with microsoft botbuilder through botconnector directline. I want to send things like the unique id of the user speaking with the bot, so my bot can operate on this user. Currently I'm just POSTing…
3
votes
1 answer

Botconnector not working for a self signed nodejs bot

I created a simple bot. Self signed the ssl cert. Apparently that does not work for bot connector . I get following error form the bot, after several seconds. { "error": { "code": "BadCertificate", "message": "An error occurred…
konquestor
  • 1,308
  • 3
  • 15
  • 29
2
votes
1 answer

Microsoft Graph GetPhoto not working in Microsoft Teams bot

After authenticating against Azure AD, my bot is able to retrieve the current user photo from Microsoft Graph through the following code, which adds the photo to the response message as an attachment: HttpClient client2 = new…
2
votes
0 answers

Attachment not working in Microsoft Team: Bot framework v3

I am writing a bot using C# and I'm able to see a png image in Emulator, but in Microsoft Teams chat, it's showing like not found image path. Here is the simple reply attachment bot code: message.Attachments = new List(); …
Praveen R
  • 699
  • 2
  • 7
  • 23
2
votes
1 answer

Azure Bot Function - namespace/dependency error

I've created a simple Azure Bot Function that works fine when ran in Azure. I have installed the required SDK's but when I download/copy the solution locally (Windows 10 using VS 2017) and then run "dotnet restore" followed by "debughost.cmd" I get…
Terrence
  • 21
  • 3
2
votes
1 answer

Direct Line API - Bot Framework / Hero Cards and Attachments

I just started using the Direct Line API (1.1) and I saw that it doesn't let you know if a conversation was showed inside a Hero Card or a Button for example. { "id": "fBPDq9JSeL|000000000000000004", "conversationId": "fBPDq9JSeL", …
2
votes
1 answer

Unable to get token from Bot Framework

Since few days, I'm unable to get a token from Microsoft Bot Framework Web Chat API. I do a GET request to https://webchat.botframework.com/api/tokens with PHP. I set the header Authorization to BotConnector MY_SECRET : $options = array('http' =>…
Ludovic
  • 23
  • 3
2
votes
1 answer

Bot Connector - Direct Line API cross conversation?

I wrote a quick little JavaScript chat to work with the direct line API. To keep my App Secret secure the js makes an ajax call to my server where I make a server side API call with the secret to generate the token and pass that back to the js. When…
2
votes
1 answer

How to connect my python bot to microsoft bot connector

I want to write a python bot and I know if it is possible to connect my bot to microsoft bot connector ?
Nima
  • 490
  • 2
  • 10
  • 19
2
votes
1 answer

Reduce latency of Bot Connector

I figured out that there's always latency of about two to three seconds when sending messages through the Bot Connector of Microsoft's Bot Framework independent of which channel type I'm using. This means if I call the POST .../messages API method…
2
votes
2 answers

Where is the host and port coming from when I am reading Direct Line API doc from Microsoft Bot Framework

I noticed the Direct Line request url is like this: https://localhost:8011/api/ in the documention. What should replace it with? I have deployed a todoBot example project from botbuilder Examples folder. And I have created a bot in My bots section,…
yong ho
  • 3,892
  • 9
  • 40
  • 81
1
2 3 4