Questions tagged [web-chat]

The Bot Framework Web Chat component is a highly-customizable web-based client for the Bot Framework V4 SDK. The Bot Framework SDK v4 enables developers to model conversation and build sophisticated bot applications.

See the Web Chat GitHub Repo for more information.

345 questions
1
vote
0 answers

Disable Submit Actions and Inputs for adaptive cards in BotFramework-Webchat

I am trying to find a way to disable the Action.Submit action type and all inputs of adaptive cards that are not the most recent message in the conversation. I found this option of using the attachmentMiddleware of the BotFramework-Webchat used in…
JackH
  • 53
  • 8
1
vote
1 answer

How to embed chabot in another website as a widget and open it?

I have developed a chatbot using Microsoft Botframework. This particular react project is at one repository. There is another repository for a page developed with Angular which needs to have a floating button or a widget to open that chatbot. How do…
1
vote
1 answer

Bot framework Webchat Postback buttons show the text on the chat after I click them

Webchat version: 4.15.1 using CDN, Description: I am using HeroCards with postback buttons but they show the text in the value after I click them, It also happens with SuggestedActions. Since in some cases I am using special codes I need to hide…
The Memebot
  • 3,199
  • 1
  • 16
  • 21
1
vote
1 answer

BotFramework ReactWebChat With DirectLineAppServiceExtension getting repeated welcome message on specific time interval

I have C# SDK based azure bot developed and deployed on azure, this bot is using Language(Custom Question Answering) service for answering users questions. The front end part is a SPFX React WebChat which suppose to be a webpart of another…
1
vote
0 answers

Trigger dispatch

I'd like to use web-chat on a page that has a .Net form submission on Enter key that I cannot modify. When the user is in webchat and clicks enter to send their message, it's submitting the form. So I have an event listener to cancel that event…
Joe Crockett
  • 161
  • 7
1
vote
2 answers

How to customize BotFramework webchat react UI

I'm just started exploring botframework webchat with React. I have tried to come until below UI. current ui image In docs, its mentioned like we can control each parts of the UI using React. But I couldn't see samples that could modify webchat…
Vinoth
  • 37
  • 1
  • 5
1
vote
0 answers

Prevent Azure bot OAuth Card to always show when refreshing WebChat

I started implementing single sign on on my simple bot for practice. I already implemented it and can successfully authenticate the user using DirectLine with Enhanced Authentication. My problem was, every time I refresh the html where I render the…
1
vote
1 answer

Update Bot Framework WebChat SendBox Text

I want to update the text in my WebChat SendBox, using the following code in the Console on Edge: window.WebChat.createStore().dispatch({ type: 'WEB_CHAT/SET_SEND_BOX', payload: { text: 'Hello World', } }); The Console…
TrevorBrooks
  • 3,590
  • 3
  • 31
  • 53
1
vote
0 answers

Adaptive Card Action.ShowCard Button Focus Out Issue

Target Platform NodeJS "botbuilder": "^3.14.0", "botbuilder-teams": "^0.2.1", Though I believe it should be same for bot written in Python Target Application Webchat (https://cdn.botframework.com/botframework-webchat/latest/webchat.js) Problem…
Saurav Kumar
  • 563
  • 1
  • 6
  • 13
1
vote
0 answers

Bot Framework - Web Chat - Always show sendbox

I am using the web chat control provided by Microsoft. Webchat Control GitHub Is there a way to make the send box always visible? Right now when I scroll the the transcript it also scrolls the send box out of view. I notice that on the Health Bot…
alexabru
  • 53
  • 9
1
vote
0 answers

How to modify anchor tags in botframework Web chat

We've just started using the bot-framework. For client side we are using the cdn and not react. We have certain links that bot responds with. And we would like to append a url parameter to each link and open the link in the same window. So far this…
ultra
  • 11
  • 5
1
vote
1 answer

How to add text box in Microsoft webchat smart display sample?

For a project I am using Microsoft webchat smart display sample. Smart Display github link Now I want to add a Text box on the screen so that user can use voice as well as text as input. As the code is using directlinespeech adaptor how can I add…
1
vote
1 answer

Is there a way to recognize weather the input to Bot is from microphone or is text input?

In my BOT I want to log the times when speech input was provided to the BOT. Is there a way to recognize it in my BOT Framework solution.
1
vote
1 answer

how to send Adaptive Card from HTML UI (using store.dispatch): microsoft/BotFramework-WebChat

I am trying to figure out how to send Adaptive Card from HTML UI. I can send message by a button click from UI (outside chat component). store.dispatch({ type: 'WEB_CHAT/SEND_MESSAGE', payload: { text: 'Hello' …
Inderpal
  • 51
  • 4
1
vote
0 answers

Catch failing connection to directline WebSocket endpoint

I am trying to figure out a way to catch failing connections to the WebSocket stream endpoint of directline (for example wss://europe.directline.botframework.com/v3/directline/conversations/...) to be able to fall back to the polling mechanism. Use…
JackH
  • 53
  • 8