I'm developing a bot and adding it to Microsoft Teams. Whenever a action happens bot will reply to that action in same conversation thread by i dont want user to reply to that thread again.
So is this possible to restrict user to reply to a specific conversation using c#.
Related
Is it possible to send message to the user when he left the conversation and come back after few mins.
I want to send a message to the user everytime he opens the chatbot in teams.
There's no way to detect this in Teams, unfortunately.
I have enabled email channel in azure and deployed bot in azure.
the bot is bit confused to capture the users intention
For example:- If user sent a mail to bot like
The bot needs to capture "what can you do" and need to send a reply but bot is capturing
"HI Bot.\r\n\r\n\r\n\r\nWhat can you do\r\n\r\n\r\n\r\nThanks and regards,\r\n\r\nKrishna."
IF user sends
The bot needs to capture "hi" and need to reply with specific responce
but the bot is capturing "hi\r\n\r\n\r\n\r\nThanks and regards,\r\n\r\nKrishna.".
is there any way to understand the users intention?
if user mails only greeting the bot has to welcome the user with welcome message. if user mails a question with greetings the bot has to capture specific users intention.
Because every user has different standard signatures and formats in their mails.
please suggest me the best approach.
I'm using Bot Framework v4 and c# to build a teams bot that signs in user when added to channel.
My use case, is that each time a new user is added to the channel, I want to send him an OAuthPrompt in 1:1 in order to sign him in.
The samples provided for proactive message shows only how to send a simple message, and can't find the right resources to solve this problem.
I have a bot that collects information in a private chat from User A about User B and then sends it to User B. I am collecting the information via Dialog and then formatting a HeroCard to be sent. I was using the Bot Emulator to test the private chat code, but I'm unable to test creating a new conversation () in the emulator without getting a 500 InternalServerError. When I deploy the code and integrate the bot into an existing Teams channel I receive 400 Bad Request responses.
Is there a tool to use that can help me debug creating a new conversation locally?
You need the user’s (User-B) unique ID and tenant ID to start 1:1 proactive conversation. Typically, these are obtained from a team context, either by fetching the team roster or when a user interacts with your bot in a channel.
Please check the sample code.
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.
This is a common scenario that I've seen addressed by a number of users in the following manner:
Build your customer support interface (CSI) (i.e. the side used by your customer support reps) using Direct Line
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.
When escalation to a human is needed, the bot flags one of the conversations needing attention
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).