botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Question] QR Code scanning

Open MNHarun opened this issue 8 years ago • 4 comments

#2616

Note: Not sure whether to raise new issue or resume the closed one. Opt to create new one. Correct and advice me for future issues.

I'm thinking of the ability for user to scan QR Code within the conversation to send feedback or initiate a feature. In the closed issue #2616, closed with a mention about the usage of third party tools. Any pointers on how to achieve this?

MNHarun avatar Feb 03 '18 05:02 MNHarun

Are you using the node.JS library, or the C# library?

nodeomega avatar Feb 05 '18 19:02 nodeomega

I'm using C#

MNHarun avatar Feb 08 '18 14:02 MNHarun

Hi @MNHarun

A bot built using the Microsoft Bot Framework is really just a website. If you're using the c# sdk, then the bot application is actually a WebApi site. Messages from client applications are sent through channel connectors, then to the bot. Client applications can be built using whatever language or platform you choose. Here is a reference to the Bot Framework Rest API: https://docs.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-overview

The method used to capture the QR code is entirely up to you. You can then send the QR Code to your bot as an attachment to an Activity. The method for capturing the QR code is outside the scope of the Bot Builder itself. The question for how to capture a QR Code might get a more useful response on Stack Overflow (there are already some answered questions related to this: https://stackoverflow.com/questions/9558896/library-for-reading-qr-codes-using-a-webcam for instance).

EricDahlvang avatar Feb 08 '18 23:02 EricDahlvang

Got it. Thank you.

MNHarun avatar Feb 09 '18 16:02 MNHarun