Teams Bot - Adding scanning capability - c#

We have built a Teams bot using bot v4 framework using C#. We wanted to integrate the QR code scanning feature inside the bot , like if user clicks on a button the camera pops up and scans the QR code .Is scanning a QR code inside a Teams bot built using bot framework v4 possible ?

Unfortunately this feature is not supported yet. Please raise a User Voice. Microsoft will always focus on customer’s feedback and experience and based on those, new features will be added to the service.

Related

How to connect Azure Language Service with knowledge base to Bot Framework SDK V4

I have followed the steps from the AI-900 lab: https://microsoftlearning.github.io/AI-900-AIFundamentals/instructions/04d-create-a-bot.html
I have a simple bot working and it is deployed.
I want to use this chat-bot and extent its functionality.
=> If a user is not satisficed with the bot support, show a button "Would you like to create a bug?" -Yes -No
=>If Yes = I want the chatbot to call an Azure DevOps API to create a bug based on the information collected form the chat.
=> If No = Reset chatbot
What I have done:
I went to Azure Bot Service and I have downloaded the Bot source code.
Run it using Visual Studio 2022 and it runs but, cannot connect to Knowledge Base and Language Service.
I am testing it using Bot Emulator v4.14 on Windows.
Problems and Questions:
I know that QnA will be retired and it is replaced by Custom Question Answering. How to connect Azure Language Service so I can have access to the Knowledge Base and questions I have created in the Language Studio?
Is Azure Bot Framework SDK v4 the correct tool to use? I am writing C# and I want something like this:
If Yes then call Azure Dev Ops API to create a bug with the description and info used in the chat.

AdaptiveSubmitAction is not working on mobile app

I have developed a custom teams app which is a message extension using bot framework v3 (c#). I'm having a adaptive card with a submit button, this button trigger AdaptiveSubmitAction, its working on desktop teams app but on mobile version this is not working.
Is there anything I have add to make this work on mobile app also.
According to Gousia, this is a bug and is being looked into

How to disable the chat after certain conversation in Bot Framework v4

I am creating a simple chat bot in Bot Framework v4.0.
I have this right now:
As you can see, when the user says "Sure thank you" the chat ends; however, I want to completely disable the chat textbox not allowing any text to be entered by user.
To end the conversation I am using this code:
return await stepContext.EndDialogAsync(null, cancellationToken);
How is it possible in Bot Framework? Or is this even possible?
Language Used: C#,
Bot Framework: 4.0
This is easily achievable by passing an event activity from your bot. This is then picked up by Web Chat. The hosting HTML page has an event listener that, when the event is picked up by Web Chat, is initiated. The event listener can then be used to alter the state of your page, including Web Chat elements.
Look over the c.incoming-activity-event sample for reference.
Note: You should also be aware that, when directly altering the DOM in this way, you make your code susceptible to breaking changes in the future should Web Chat revisions come thru that alters the currently published code.
Hope of help!

How to disable magic number using OAuthPrompt in bot framework V4

I had implemented authentication to my bot application by referring here. I had successfully implemented and able to sign in but application is authenticating user using magic number. Is not there any way to disable magic number?
Note: I had created bot application using Bot Framework V4
There have been improvements to the channels to support new authentication features, such as new WebChat and DirectLineJS libraries to eliminate the need for the 6-digit magic code verification. You can follow these links to prevent the magic code from showing up:
https://github.com/Microsoft/BotBuilder/issues/4632#issuecomment-441957719( refer to #compulim's comment here, who is the developer of Web Chat and has specified the steps to eliminate the magic code flow).
https://github.com/Microsoft/BotFramework-WebChat/pull/1218( pull request for the token server sample).

Azure Bot Framework with Cortana Skill using C#

I am new to C# and Bot Framework. I need to set up a small poc where I have to do a sample registration using Cortana, C# and SQL. Can anyone of you help me out in this?
This is literally the first post I found when copying the title of your post into Google: Build a speech-enabled bot with Cortana skills
Creating a Cortana skill using Bot Framework requires very little Cortana-specific knowledge and primarily consists of building a bot. One of the likely key differences from other bots that you may have created in the past is that Cortana has both a visual and an audio component. For the visual component, Cortana provides an area of the canvas for rendering content such as cards. For the audio component, you provide text or SSML in your bot's messages, which Cortana reads to the user, giving your bot a voice.
If you'd like to create bot application in c# and access SQL database, you can try:
1) Bot Builder SDK for .NET is easy to use and leverages C# to provide a familiar way for .NET developers to write bots.
2)to access SQL database, you can use ADO.NET technologies or Entity Framework. And here is an example of EF in a bot, you can refer to it.
Besides, to configure Cortana channel, you can refer to this article: "Connect a bot to Cortana".

Categories

Resources