Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
193 views
in Technique[技术] by (71.8m points)

c# - 3 different channels in the same conversation botframework

I'm trying to do a C# MVC WebApplication for human-hybrid bots support customers, so I can't create a conversation between 3 different channels.

Example:

1-) An user start a chat with my bot in facebook

2-) When the bot receive the activity, he adds a new guy in conversation (directline, that's I have conversationId).

3-) The facebook user now, is chatting with other 2 users (bot and directline User).

Is the correct logic ?

I'm trying to create this group conversation but I'm getting error 500.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This is a common scenario that I've seen addressed by a number of users in the following manner:

  1. Build your customer support interface (CSI) (i.e. the side used by your customer support reps) using Direct Line
  2. Your bot pipes through the all the user messages to the CSI which stores all the conversations. Reps can see a list of all the users interacting with the bot and the history of each of those conversations.
  3. When escalation to a human is needed, the bot flags one of the conversations needing attention
  4. Your bot then brokers conversations between the accounts (i.e. Facebook End User <-> Your Bot <-> CSI). Essentially the customer support rep is creating a response, which is being posted by the bot back to the end user

This means there's no need to add an additional person to the conversation. (Facebook currently only allow 1-on-1 conversations with bots).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...