Connect Bot to Skype and Teams - azure

I'm currently trying to figure out Azure and the Web App Bot Resource.
I've learned that it is possible to create a Web App Bot and connect it to channels like Skype or Teams for example. Though as far as I can tell if the bot is connected to both Skype and Teams the bot in Skype has no information about what the bot in Teams is doing and vice versa.
So I wondered if it is possible to link them up somehow.
Would it be possible to write a message My Text to the bot in Skype and the bot in Teams then writes this message My Text into a Teams channel?

Might I suggest reading over some of the tutorials and documentation on the Bot Framework? It might help to have a clear idea of the related concepts, such as:
Web App Bot: A Web app bot is used to create a new full-fledged bot service that can be modified, build and deployed online.
Azure Bot Service: Azure Bot Service enables you to host intelligent, enterprise-grade bots with complete ownership and control of your data. The Microsoft Azure Bot Service helps you manage, connect, and deploy your bot across devices and popular channels. Azure Bot Service and Bot Framework provide tools to build, test, deploy, and manage intelligent bots all in one place.
Channel: A channel is a connection between the bot and communication apps. The Bot Framework Service, configured through the Azure portal, connects your bot to these channels and facilitates communication between your bot and the user.
Bot Channels Registration: A Bot Channels Registration bot service allows you to use Bot Service functionality. A registration bot lets you connect your bot to channels.
In order to have a bot that works with Skype or Teams, you need to have a bot channels registration. If you already have a bot hosted elsewhere and you would like to use the Bot Service to connect it to channels such as Skype, Twilio, Messenger etc., you will need to register your bot with the Bot Service.
Coming back to your question, you can create a Web App Bot and connect it to Skype or Teams, but neither Teams nor Skype has any information about the bot's conversation with the other channel as its channel-specific. So the bot can interact and communicate with Skype and Teams channels separately but they cannot be linked.
If the user saves the entirety of conversations in some sort of transcript storage, that could be tapped by both, then it might be possible, but not at the same time, and it would take a decent amount of code to implement.
Hope this helps!!

Related

Microsoft Chat BOT with multiple BOTs integration

I am working on a requirement where we need to create a chat BOT application using Azure BOT service that takes input from the user and based on the response from the user, redirect the user to the chat bot of the particular department.
I would like some suggestions or recommendations on how this can be achieved.
The way to do this is through Bot Framework Skills. You can check for more information on https://learn.microsoft.com/en-us/azure/bot-service/skills-conceptual?view=azure-bot-service-4.0

How to recreate the Live Chat Bot?

How can I make a chat bot like this?
https://appsource.microsoft.com/en-us/product/office/WA104381862?src=webduppage&tab=Overview
This bot can be embedded into an html. If you chat with the bot on your website the message gets to your Microsoft Teams Channel and you can reply trough Teams.
At its core, this is just a bot enabled for two Bot Framework channels at the same time - the Web Chat channel and the Microsoft Teams channel. (Note that Bot Framework channels are completely different from channels in Teams.)
The Web Channel supports controls designed to be embedded in web pages. Messages posted from the web can then be posted as proactive messages in whatever channels are configured for that purpose.

How to Auth from an external service to the bot framework?

I have an external service with is own database where the users can log in.
Now I have a bot in NodeJS using Bot Builder and the Bot Framework.
I want to link them.
Is there anyway that the bot recognize the users from the other service everytime they open a new conversation and everytime they write something in the bot?
I've just tried with web chat before and I know that with channels that they support like Facebook, Telegram, Skype etc is easy to recognize the users every time they come back, but I don't know how if it is possible to do this with an external service where the users are already logged in and they want to talk with the chatbot.
I don't know how could I generate an authtoken or something that the bot framework read it and recognize the user.
You can use the DirectLine API to allow your bot and a custom client to communicate to each other, a sample can be found here, and here if you want to use WebSockets.
You can also add authentication to your bot via Azure Bot Service to use OAuth as stated here, where you will find samples too.

Can any one suggests some platform agnostic bot framework

I am looking for a platform agnostic framework or library that can give me a generalise schema for different responses coming from Messenger, Slack, Web chat, Skype etc. And, i can reply them with a single schema.
So, Any bot framework that have its own request and response schema.
Have you checked Microsoft Bot Framework? It's exactly what you are looking at.
The Microsoft Bot Framework provides just what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Kik, Office 365 mail and other popular services.
The Bot Framework has a number of components including the Bot Connector, Bot Builder SDK, and the Bot Directory.
Resources
Microsoft Bot Framework Developer Portal
Documentation
Bot Builder SDK
Task-focused Samples
Azure Bot Service
Emulator

Are groups in Workplace by Facebook supported via the Facebook channel on Microsoft Bot Framework

IMAGE OF CHAT
Good Day,
I have developed a bot via the Azure Bot Service.
The QnA bot works for employees in our Workplace tenant if they search for the bot and chat directly.
I can find the Bot using #Jargon from within a Workplace group, but, the bot does not reply in this context.
Is there support for workplace group functionality in MS Bot Framework?

Resources