How can I send a message to the Microsoft bot from within the bot so that the message will go through the dialog flow with corresponding response?

166
January 18, 2020, at 8:20 PM

The title of this should really be "how can I make the bot respond gracefully when something wipes out context or there is a server restart while someone is using the bot. A. that is confusing and B. I need to plan this in parts so logically this would be the first part.

  1. Without using directline, and maybe I have to be preferably without, how can I T up a message that is to the bot from the user just the same way I would talk to the bot in the client. For example when I say 'hello' in the client, the bot then processes that information and responds via my dialogs.

I want to "pre" send a message to the bot so it elicits a response proactively. Now this isn't proactive messaging because that is another user coming into the bot and speaking to the client which is not what I want.

So again, how can I send a message to the bot from within the bot.

  1. I want to do this for this reason: If the server shuts off or the person losses their context for some reason and they are already inside of the bot they have to reenter into the bot. Specifically, it is as if the are "restarting" the conversation. But, as in the emulator when you restart the conversation you are reentering into the bot and you are reconnecting/restarting the user. In this case you are doing neither. You are just there... and the next time you type the pathway should already exist.

In my case it is like the context was wiped out and has to reestablish itself and then you can proceed to talk to the bot.

The affect on the user experience is this: they type text and the bot ignores and it essentially restarts and then they would have to type the text again.

Rent Charter Buses Company
READ ALSO
Nodejs, Mongodb Search Engine

Nodejs, Mongodb Search Engine

I am doing a website which we can write articles and search for articlesJust like this stackoverflow webiste has

271
NodeJs login form with SQL Server user auth

NodeJs login form with SQL Server user auth

I am having an issue with authenticating users using a SQL Server databaseI have established the connection with the database and can pull user from the database

200
Make bar rounded echarts

Make bar rounded echarts

Is there a way to make bar rounded on top in echarts? For ex in this example

206
Avoid re-rendering in React when switching between tabs

Avoid re-rendering in React when switching between tabs

So I have react application using material-ui to create tabs

168