Microsoft Bot Framework connector for Botpress (https://botpress.io/)
Installation
botpress install botfmk
Get started
1. Sign in on Bot Framework (https://dev.botframework.com/)
2. Create a bot (https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html#registering)
3. Set the env vars
- Set the bot application ID in env var BOTFMK_APP_ID
- Set the bot password in env var BOTFMK_APP_PASSWORD
- Choose a port for the webhook and set it to env var BOTFMK_WEBHOOK_PORT
4. Deploy your bot
Or use ngrok (https://github.com/bubenshchykov/ngrok) to expose your local bot to the world
5. Set the webhook url in Bot Framework config (https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html#registering)
Usage
Incoming
You can listen to incoming events easily with Botpress by using the built-in "hear" function.
bp
Outgoing
Text messages
bpbotfmk
Attachments
You can use the Bot Framework attachment API described here: https://docs.botframework.com/en-us/csharp/builder/sdkreference/attachments.html
You can see how it is rendered on different platforms here: https://docs.botframework.com/en-us/channel-inspector/channels/Facebook
bpbotfmk
Multiple messages
bpbotfmk