简体   繁体   中英

Client-Client chatting via Microsoft Bot framework

I'm new with Microsoft Bot Framework, I'm going to build a project which my customers can chat with the bot to get information, and furthermore, I want my Bot to suggest my users whether they want to chat with the Bot or with my secrectary who uses my management website to receive customer's message forwarded by the Bot . So my question here is, how can my secretary can join the chat with customer and the Bot will keep silent. Is there anyway to do without using Conversation Chat group because my secretary may not use the Bot Framework chat control to connect. I'm thinking of using SignalR which will help my secretary chat with customers

Here is my plan: 项目架构师

Take a look to the Bot HandOff sample (node.js) and the Intermediator Bot sample (C#) as they will give you the basics to build what you are looking for.

Basically, in the samples you will see how to handoff the conversation the user is having with the bot to a human (in this case your secretary). The only pre-req is that your secretary would have to be in one of the supported channels for BotFramework, eg Skype and have the Bot as a contact, because the conversation between the user and the secretary would be through the bot (the bot will act as a message router).

If you use a custom channel (like your website); you still can follow some of the patterns explained in the samples.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM