Embedding Microsoft Teams channel conversation into website - microsoft-teams

In one of my project, the Client wants to integrate Microsoft Teams Channel conversation/post on the website. Is there any way, can we integrate embed code of Microsoft Teams channel conversation/post like providing for Microsoft Stream videos/channel?

Embedding Microsoft Teams UI directly into other applications is not supported. However you could read the channels messages using Get Channel Messages Graph APIs and render it.
Note: Before calling this API with application permissions, you must request access. For details, see Protected APIs in Microsoft Teams.

Related

Calling an external API from MS Teams chat

Can anyone offer guidance on how to call an external API from within MS Teams chat/posts initiated by an #mention or #hastag? The service I want to build would use the mention/hastag to call an API and return various types of meta data that would then be added to the chat, post, etc. Wondering if Flow or Yo Teams is the best way to go.
The best approach for this would be to create a bot, which gets a name that can be '#' mentioned (e.g. if you bot is called MyBot, you could mention #MyBot in a Teams channel, and it will get notified). Once it receives the notification, the bot can do anything you need it to do.
If you have development skills available (yourself or someone on your team), have a look at the Teams Bot development documentation to get started. If not, Power Virtual Agents could suit your needs (it's like a "drag and drop" bot creator.

Is there any way to develop own Webchat instead of Microsoft Botframework-Webchat

I don't want to keep any dependency on Microsoft Botframework registration for Webchat. I have successfully deployed my Bot Code in Shared Server instead of AzurePortal, But to use the Webchat I have to register the Bot in AzurePortal.
My concern is to develop own Webchat which will directly communicate with the Bot API Endpoint.
Have anyone work on this situations.
To clarify, bots communicate via:
User interaction with DirectLine Client ->
DirectLine API receives data and sends to bot ->
Bot hosted anywhere receives message
WebChat is just a DirectLine client. If you want to build your own WebChat, you can clone the repo and build it yourself. Note, however, that all this does is make it so you can host your own webchat.js file.
I believe that what you're actually looking for is to build your own DirectLine API. The only way to do so, currently, is to develop it in Node with the offline-directline npm package. This is not an official Bot Framework package, but will accomplish what you need. To then use WebChat with offline-directline, you would just need to change domain property when rendering WebChat.

Provides Microsoft Botframework built-in retrieval of profile images for Facebook or Skype?

We are running a bot based on Microsoft Botframework using Facebook Messenger and Skype channels.
We are logging each message to database and displaying conversations in a report and we would like to display profile image next to each conversation.
We receive userId for each incoming message and we can load profile image by using:
http://graph.facebook.com/{userId}/picture
http://api.skype.com/users/{userId}/profile/avatar
But is there in Botframework some "built-in" mechanism to do that for Facebook Messenger and/or Skype?
The motivation is to have "general" solution without custom code for channels that we might enable in the future.

BotKit Slack Bot to Microsoft Teams Bot

I recently built a slack bot via the BotKit toolkit and now want to be able to expand from just slack to many other services. Basically, I was reading https://venturebeat.com/2016/11/02/how-bots-will-work-on-microsoft-teams/
and it states that
"The integration means Microsoft Bot Framework users will be able to make bots for Slack, and Botkit users will be able to bring their bots to additional platforms, like Telegram, Kik, Twilio, and Skype. (Before the change, Botkit was only able to make bots for Slack and Facebook Messenger.)"
However, it is not clear to me how this can be accomplished. Do you mind explaining this to me or pointing me in the right direction? From what I understand, it should be a simple process of having my slackbot basically run within Microsoft Teams or Skype or whatever service.
Thanks!
The VentureBeat link for the Public Preview of Microsoft Teams was referring to the ability to use bots written for Slack (via BotKit or otherwise) within Microsoft Teams with little or no modification necessary. This capability is provided by Message.io. You can contact them for more information or look on their website.
Microsoft Teams also has a native bot platform - the Microsoft Bot Framework (which also supports Slack, Skype, Facebook, and several other chat platforms). BotKit does not yet support Bot Framework.
(#JasonSowers)[https://stackoverflow.com/users/3011564/jasonsowers] is correct - BotKit and Bot Framework are two different bot platforms; today Microsoft teams supports one via Message.io and one natively.
So I think your path is:
Register your bot in the Bot Framework to host the bot, referencing the Botkit. Make sure you add Microsoft Teams as a channel.
Create a package for your bot and [Sideload it][3] in Teams to test.

Microsoft Bot Framework Client sdk

I am looking to use Microsoft Bot Framework in my application. However, I have a custom UI chat control (designed according to my requirements) where I need to hook up this bot.(instead of having pre-configured channels like slack or skype).
Is there a client sdk for web (preferably in angular) and/or mobile available for this purpose?
Take a look at DirectLine.
The Direct Line API is a simple REST API for connecting directly to a single bot. This API is intended for developers writing their own client applications, web chat controls, or mobile apps that will talk to their bot.
DirectLine is always a good option to add chat functionality in your custom UI. Otherwise you can just turn on Web Chat channel and embed iframe in your webpage. This will make your job easy with very less errors.
I have seen directline causing many issues while sending requests. Web Chat is always a better option.

Resources