How to send private message in Microsoft Teams using bot on behalf of user in Teams? - botframework

We can send private messages from a Microsoft Bot to a Teams user. It appears as a chat between bot and a user.
But I need a functionality where a bot can send message on behalf of user in Teams and it would exactly appears as a 1:1 chat of two users in Teams, not as a chat between bot and a user.
Thanks

Related

How can we send a persons conversation with bot(Built using Microsoft Power Apps) to his outlook email once the conversation is completed?

I am working on creating a bot in Microsoft PowerApps using (Azure QnaMaker, Microsoft Flow Services). Our aim is to integrate this bot in Microsoft Teams to help users in the team to get the answer for faqs. I would like to know how can we send an email of conversation once his conversation is completed with the chatbot.

Problems Intergrating Bot Framework with SMS

I have been working on azure chat bot using the bot framework SDK v4 and I have ran into an issue. My bot needs to initiate a conversation first. I have seen some examples with proactive bot but that requires us to save the user credentials as a cookie. What I need is a chat bot that sends the first message to user via SMS to initiate the conversation. The bots needs to be able to set the recipient phone number dynamically. I have looked at integrating the Twillio channel to my bot, but the problem is that the user has to initiate the conversation to the Twillio phone number which then forwards the text to Azure chat bot. I was wondering if there is anything out there which will allow the chat bot to initiate the conversation first via SMS and the phone number of the recipient should be set dynamically. Is there anything out there currently on Microsoft stack? Our company has been a long partner with Microsoft so I would like to have the chat bot using the Microsoft Azure Bot Service. Can you please guide me or forward some documentation? Any help would be appreciated.

How To Post A Message On Behalf Of The User In Microsoft Teams App?

I'm working on an integration between Microsoft Teams and Slack.
I'm building a Microsoft Teams application which is connected to a Microsoft Bot.
Additionally, I created a server for:
Listening to messages which were sent by users in Slack (via Slack webhooks)
Posting them in Microsoft Teams conversation as a user message to the bot (outgoing message)
I receive messages from Slack (which were sent by a Slack user) to my server and I wish to post them in Microsoft Teams as messages from the user to the bot and I'm not able to do so.
I'm able to send messages from Bot to user in Microsoft Teams app via Microsoft Bot's "botbuilder" Node.js SDK:
session.send(message);
How can I send the message on the other direction (from user to bot)?
You can't. See this question for more info, but the short version is:
The BotFramework has no direct way to do this.
Even the Teams Graph API doesn't currently support this. They're working on it, but don't have an ETA.
The closest thing to a workaround would be:
User writes message in Slack to Bot
Bot receives message and posts a proactive message in Teams, something like:
User #louis1600 said: "blah blah blah"
Resources:
Proactive Messages in Teams
#mention-ing users in Teams with a Bot
The many other Teams Bot related questions I've answered

Send messages to bot users in microsoft teams via api

I have an use case where i have to trigger notifications with card, message and url to bot users when an event has occured at backend. Is there a way to send message to bot users via api

Skype Channel: Unable to login with 'Sign in' to save your chat

I have enabled Skype channel for my bot which on top of chat window shows option to login. I am unable to login using my work ID, rather I could login with my personal Microsoft account.
I could not find much documentation on this. How can I enable bot so that bot users can login only with their work email id?
This is the expected behavior as Skype doesn't let you create an account anymore with a business email address. If you want to test your bot by connecting it to Skype channel, then you can use your personal account. The Skype for Business channel is specifically designed for the usage of work email ID but it is being deprecated on the Bot Framework. I would suggest you to connect the bot to Microsoft Teams to login using work email ID.

Resources