Is it possible to read data from the manifest.json using botbuilder sdk? - bots

I am building a bot for MS teams. I need to be able to know which app manifest.json was installed in the tenant. Is there a way to pass meta data into manifest.json and then get it on installation event using botbuilder in my app?

This doesn't seems to be possible to read data from the manifest.json using botbuilder sdk.

Related

Ms teams Mobile and Bot Framework: sending images

I have a solution that works on Identity and Auth, The solution runs a WhatsApp Bot that ask the user for images doing specific gestures as part of biometrics for authentication. That works great.
Then We are working with to create support for that bot in Microsoft Teams and other Channels using Azure Bot Service / Bot Framework , but We're facing troubles because the documentation explicitly says that file exchange between ms-teams bots and users is not supported on Mobile.
Do you know any workaround or OSS component that could remove this blocker?
Any ideas will be appreciated.
the docs Send and receive files with a bot:

Send file attachment with outgoing webhook in Slack

I want to upload any file that is uploaded in slack channel to the linked google drive account. So as and when a user uploads a file in slack channel, that file should get uploaded in Google Drive also.
I am thinking of using slack outgoing web hooks to do this.Is it possible with web hooks or should I try any other approach like create custom app in slack?
I would advise against using an ougoing webhook. It's an outdated legacy feature, which currently only exists for backward compatibility of older apps. But may be removed in the future.
This is from the official Slack webpage:
You're reading this because you're looking for info on legacy custom
integrations - an outdated way for teams to integrate with Slack.
These integrations lack newer features and they will be deprecated and
possibly removed in the future. We do not recommend their use.
Instead create your own Slack App and use the Events API. With the events app Slack will automatically send a request to your app once a message has been posted to channel (which would include file uploads). Your app can then filter out the relevant messages (e.g. google file uploads) and upload those files to Google Drive.

Customise Azure bot framework in NodeJs using DirectLine JS

I am looking for a solution which has Customised Azure bot in website. I am not looking for an iFrame integration, As i have already explored. I need a solution which gives me an option to make UI changes in the bot window and invoke Live agent Chat window(Third party) from the existing Chatbot.
I tried these link below which dint help
https://github.com/Microsoft/BotFramework-WebChat
I understand exactly what you need.
It's true that the github url you pasted won't help but I know you'll get a lot of tips from the Direct Line and DirectLineJS documentation from the Advanced part.
You simply need a way to integrate to the Bot Framework from your existing UI system and hence using the Bot as just an Endpoint.
Your solution lies in the actual implementation methods for various channels that is supported by Bot Framework. Take Skype or Facebook for instance.
You need to study and configure WebHooks, Direct-Line Channels.
First: Use the Azure Portal to add a new website to your Bot in Channel property.
Secret Keys would be generated for you after then you can configure for version 1.1 or 3.0.
Check the Documentation here: https://learn.microsoft.com/bot-framework/rest-api/bot-framework-rest-direct-line-concepts
Now your site can be configured to talk to the Bot Framework via Web Clients and Sockets as API requests.
With these, you have the priviledge to use your own UI with the Bot Framework.

Integrating Watson Assistant (formely conversation) with Telegram/Facebook

I am confused about how to integrate my Watson bot on messaging platforms such as Facebook messenger. To build that bot, I used the Watson Conversation service and also used Bluemix cloudfoundry node.js app to expose it on the web. It works very well, but I just can't integrate it to platforms without the use of a third-party platform like stamplay. I don't really want to use third-party platforms to integrate my bots.
Anyone have any ideas? Maybe I can host my own bots on my Bluemix cloud platform? I just don't know how.
You might want to use some facilitators for this, like Node-red or NGROK.
Use Node-red to Integrate Watson Conversation with facebook easily.
Use NGROK, Tanmay Bakshi teaches how to do that. Check this tutorial.
With Node-RED you can create functions, and have a lot of options for Business rules for your application.
Note: I've built some open source basic example to Integrate Watson Assistant with Telegram and Facebook using Node.js. You can follow the instructions or read the docs in the repositories.
This middleware plugin allows developers to easily integrate a Watson Conversation workspace with multiple social channels like Slack, Facebook, and Twilio. Customers can have simultaneous, independent conversations with a single workspace through different channels.
https://github.com/watson-developer-cloud/botkit-middleware
I created a starter application for this purpose. My example is for Slack and you easily use it by creating an slack API token.
The starter is implemented in node-red and you just need to insert your API token and the rest is deployed automatically. I used Watson Conversation and Natural Language Understanding.
One-Click-Deploy and more detailed description:
https://github.com/BenediktKrueger/SlackBot-Starter-on-Bluemix

Can I use Skype Web SDK to build a IM Chat Bot for Skype for Business/Skype?

I need to be able to initiate a connection from the bot to a SfB user. The bot will be making the connection as a published Web App on Azure.
The bot can have its own SfB id and will message people from there.
If it can be achieved for Skype instead of SfB, I'd still like to know how I would go about implementing a solution for that.
The Bot term here is misleading me a bit, but from the scenario you mentioned, it sounds like a chat between a Web App using the Skype Web SDK and an SfB client. As long as the Web App is using a SfB creds, that should be possible.
You can't use SfB with bot framework right at the moment. But you can use skype instead. To create a bot which work with the skype please follow the below steps.
First register a new bot inside the bot framework. Click here. Keep in mind that you need Microsoft account for that.(outlook, live)
Then download bot application template from here. Save the zip file to your Visual Studio 2015 templates directory which is traditionally in “%USERPROFILE%\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#"
After that you can download bot emulator to check your bot from here
Add your AppId and AppSecret (You can find that from the bot registration dash board) inside web config file. Then run your application and check whether you get the same wording you send through the emulator.
If all are working you can connect it to the skype like this. First go to dashboard in web. Enable skype and there you can find few steps to follow. If you success with that steps you can see your bot inside your skype where you can communicate. *For publish to public crowd it takes time and your bot go through a quality process which handle by Microsoft.
FYI - Skype for Business was announced as a new channel today on Build 2017 :)

Resources