June 2017
Beginner to intermediate
336 pages
8h 44m
English
The next step is to receive conversations from the service. To do that, make a GET call to the conversation API, as shown:
-- connect to directline.botframework.com --GET directline.botframework.com/api/conversations/[Conversation Id]/messages HTTP/1.1Authorization: Bearer [Token]-- response from directline.botframework.com --HTTP/1.1 200 OK{ "messages": [{ "conversation": "[Conversation Id]", "id": "[Conversation Id]|0000", "text": "hello", "from": "Manish" }, { "conversation": "[Conversation Id]", "id": "[Conversation Id]|0001", "text": "Nice to see you, user1!", "from": "bot1" }], "watermark": "[watermark code]"}
As you can see, it's quite a simple API call to build a conversation bot. In addition to these, you can use ...
Read now
Unlock full access