Questions tagged [direct-line-botframework]

Direct Line API is part of Microsoft's Bot Framework and is one of the available messaging channels there, along with Facebook, Skype etc. It enables access to the bot created using that framework from any custom app or webpage.

The Bot Framework REST APIs enable you to build bots that exchange messages with channels configured in the Bot Framework Portal, store and retrieve state data, and connect your own client applications to your bots. All Bot Framework services use industry-standard REST and JSON over HTTPS.

You can enable your own client application to communicate with your bot by using the Direct Line API. The Direct Line API implements an authentication mechanism that uses standard secret/token patterns and provides a stable schema, even if your bot changes its protocol version.

Useful links:

566 questions
9
votes
3 answers

ChatBot did not work in Web Emulator but work well in Local Bot Framework emulator

I developed the ChatBot that integrates with SharePoint On Premise. When I debug the ChatBot in emulator, it work. But When I debug on Web Emulator in Azure and Website Hosted in Company Website by using DirectLine, it did not work. Does anyone know…
8
votes
1 answer

Bot Framework Composer Skill Host Endpoint 401 Unauthorized

I have a Bot Framework Skill written with C# which relays messages from a back end service to a Consumer Bot made with Bot Framework Composer. The Skill Bot receives the messages from the backend service on a separate controller…
7
votes
3 answers

how to connect to Microsoft bot framework from android cilent

I created a simple android app which sends a message though JSON format using restfull jersey WS which URL should i enter in my app that connects the bot? and how does that bot receive message and send back the response? As of now I am using bot…
Madhu Babu
  • 119
  • 1
  • 9
6
votes
1 answer

line bot - how to get started

i've just started working with line-bot and followed the tutorial here: https://developers.line.biz/en/docs/messaging-api/building-bot/ However, I still don't understand how I can connect with my line app account, to send messages, and have these…
jake wong
  • 4,909
  • 12
  • 42
  • 85
6
votes
3 answers

Can I Host a MS Bot Framework Node.js Instance On-Premises

We've built an MS Bot Framework bot that consumes our existing, internal, on-premises APIs during conversations. We'd like to release this bot by dropping a Web Chat Component into the DOM of our existing, internally-facing, on-premises…
5
votes
1 answer

How can I use offline-directline for Microsofts Botframework v4?

I need to run the microsoft botframework v4 on-premise since company internal restrictions forbid me to register the bot on Microsoft Azure or use the connector in the cloud. My idea is to use offline-directline to emulate the connector locally. To…
5
votes
1 answer

Azure Bot Service Direct Line API v3.0 constantly throwing 403 error on starting conversation

I have been trying to utilize Azure Direct Line API v3.0 for a bot. However it seems I am no longer enable to start a conversation as I am getting 403 message on APi call. Here is my call: $.ajax({ url:…
5
votes
2 answers

Long-term history for chat conversations (resume conversation)

I am developing chatbot application based on MS Bot Framework. And I need implement functionality of long-term history for chat conversations. After reading tons of manuals, I found out two approaches how can I do this. Use approach that was…
CoL
  • 51
  • 4
5
votes
1 answer

MS Bot, Direct line API, cannot send an activity, how to fix it?

I been trying to set up MS Bot within an app. So far, I did following. set a REST endpoint for Bot, that connector listens to it. app.post("/botapi/messages", connector); get APP_ID and APP_PASSWORD, emulator successfully connected to with…
arslan
  • 2,034
  • 7
  • 34
  • 61
4
votes
3 answers

Send a typing indicator in bot-framework v4 using DirectLine and webchat (Node.js)

The official docs for Microsoft bot-framework SDK v4 do not demonstrate how to send a typing indicator (whereas v3 has these instructions). I'm using DirectLine and botframework-webchat. How do I do this? Thanks!
Robbie
  • 447
  • 1
  • 6
  • 19
4
votes
1 answer

Customise Azure bot framework in NodeJs using DirectLine JS

I am looking for a solution which has Customised Azure bot in website. I am not looking for an iFrame integration, As i have already explored. I need a solution which gives me an option to make UI changes in the bot window and invoke Live agent Chat…
4
votes
1 answer

Creating multiple Microsoft Bot instances, polling them for availability, using DirectLine API, .Net and JS?

We've developed a bot for our website which is used as a sort of messenger, the user selects if they want to speak to our support or chat team and it routes them to the correct team. The chat escalation and chat service is provided by Live…
bmo
  • 105
  • 8
4
votes
1 answer

How to respond to message from the Bot Framework (Direct Line Client)?

I want to create a dialog with the bot framework. My steps: Create a new Conversation using the Direct Line API (Works without problems) (Clientside) The following Dialog gets triggered in the Bot framework…
FLG
  • 41
  • 2
4
votes
1 answer

Bot framework get the ServiceUrl of embedded chat control page

I want to embed the chat control to many websites and I want to get the Url of the website that I've embedded in order to my bot can get the Data matching with the Website URL. However, when I embed the iframe generated from WebChat, I always get…
Justin Van
  • 307
  • 4
  • 16
4
votes
1 answer

Microsoft Bot Framework DirectLine Can't Access Conversations

I am trying to use the Microsoft Bot Framework DirectLine API to read and add messages to existing conversations between other users and my bot. From what I've read I believe this should be possible when using the master-secret but it's just not…
Stu Price
  • 163
  • 12
1
2 3
37 38