A simple Microsoft Bot Framework v4 bot that demonstrates proactivity through the BotAdapter.ContinueConversationAsync() method.
A ConversationReference can be stored by typing '1'. This ConversationReference can be used in another conversation (or the same conversation) to send a message to the conversation which the stored ConversationReference represents.
- Visual Studio 2017 15.7 or newer installed.
- .Net Core 2.1 or higher installed.
- Bot Framework Emulator 4.1 or newer installed
- Open ProactiveBot.csproj in Visual Studio.
- Run the project (press
F5
key).
Microsoft Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework emulator.
- Launch the Bot Framework Emulator.
- File -> Open bot and open ProactiveBot.bot.
See Deploy your C# bot to Azure for instructions.
The deployment process assumes you have an account on Microsoft Azure and are able to log into the Microsoft Azure Portal.
If you are new to Microsoft Azure, please refer to Getting started with Azure for guidance on how to get started on Azure.