Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated image links #25

Merged
merged 1 commit into from
Apr 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Below we briefly describe two main approaches how to implement proactive messagi



![Proactive Messages using Direct Line](img\proactive_directline.png)
![Proactive Messages using Direct Line](https://github.com/lucashuet93/botbuilder-proactivemessaging/blob/master/img/proactive_directline.png)

<center><i>Fig. 1: Proactive messaging flow using Direct Line</i></center>

2. **Creating standalone proactive messaging endpoint**

When implementing proactive messaging you might want to split logic and code for processing reactive messages and request for proactive messages. This may be achieved by introducing of second endpoint to your bot backend, which will be responsible for listening to proactive message requests. This approach takes away need of setting up the Direct Line channel, however it leaves all the responsibility for securing of communication between external system and your bot backend on your shoulders. As in this case you are exposing new endpoint/new API, you should secure it (especially in production scenario). Simplest way how to achieve it, is to use shared secret or API key. Below we are stating architecture diagram describing flow to initiate proactive messages using standalone endpoint.

![Proactive Messages using Standalone Endpoint](img\proactive_separeteendpoint.png)
![Proactive Messages using Standalone Endpoint](https://github.com/lucashuet93/botbuilder-proactivemessaging/blob/master/img/proactive_separeteendpoint.png)

<center> <i> Fig. 2: Proactive messaging flow using Standalone endpoint </i> </center>

Expand All @@ -39,4 +39,4 @@ This repository contains implementation instructions and code samples of proacti
## Instructions and Samples

1. [Node](https://github.com/lucashuet93/botbuilder-proactivemessaging/tree/master/node)
2. [.NET](https://github.com/lucashuet93/botbuilder-proactivemessaging/tree/master/dotnet)
2. [.NET](https://github.com/lucashuet93/botbuilder-proactivemessaging/tree/master/dotnet)