Microsoft Bot Framework Client sdk - botframework

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.

Related

Embedding Microsoft Teams channel conversation into website

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.

3D Avatar Implementation on Botframework V4

I'm searching for knowledge sharing on how to connect a 3D avatar with a bot.
Something like done on Bot Libre https://www.botlibre.com/forum-post?id=682689 .
The implementation can be on WPF, UWP or web.
I'm currently working with Botframework V4.7 and C#.
Thanks in advance,
Amintas
This will likely require you to build a custom connector to pass your bot's incoming and outgoing activities thru to the Bot Libre system. There are examples out there of connectors/adapters that have been built by 3rd parties, such as this Twilio WhatsApp adapter, this Twitter adapter, or this Alexa adapter if you are planning on building in C#.
Any adapter you build won't need to be as full fledged as these are as you are only designing for what you know you need, and not for the masses.
You will also need to research Bot Libre to see which API endpoints might be relevant to you. You can see a listing of APIs here. Really, this holds true for any service like Bot Libre that you decide to land on.
Hope of help!
It depends on the Channel your bot is deployed on and what does the channel supports. For example if your bot is deployed in Facebook Messenger, you can achieve this by creating a web page that renders a 3D Avatar and using Bot Framework you can send a web_url button from which the user will press and the web page will open up inside of messenger with the rendered avatar.

Custom bot not working with mobile client

I have a Custom Bot set up via using these instructions.
The Bot is set up and successfully working in a Team when it is #Mentioned from a Teams desktop client or the web interface. When the Bot is #Mentioned from a Teams mobile client however, it does not respond.
I added logging to my webhook and have found that it does not seem to be triggered when #Mentions from a mobile client are sent.
Is there a bug here or are #Mentions from mobile devices not supported?
Invoking custom bots from mobile devices is not currently supported. I wish we had a good reason, but we don't; it fell through the cracks. Thanks for bringing it to our attention and reminding us about it.
We don't have an ETA for when it will be supported, but we do intend to support it.

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.

clarification on integrating slack api in the xamarin app?

I am working on a Xamarin App in which we need to have a feature as Open chat room or discussion room. I was exploring the slack api and interested to integrate the slack api in the App.
My clarification is, on integrating slack client api in the app, whether chat feature will be enabled? Whether my app registered users can utilize the slack chat room ? Or do the app registered users has also to register in the slack?
The Slack API is not much use if you do not plan to work with the core Slack application as well. So if you are just looking to extend your own app with a chat features, the Slack API will not help you much. To utilize the Slack chat features, you need to setup your own Slack team and your users will need to register on the Slack team and use it. The Slack API mainly enables one to build automation and bots around a Slack team.
QuickBlox is another 3rd-party SDK that you can use.
xamarin chat sample https://quickblox.com/developers/Sample-chat-xamarin/

Resources