-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #798 hide upload button #883
Conversation
Is there anyway to enable upload button using the backhannel feature that, when a specific event was triggered, i show it to the user? |
@ernestoguimaraes Yes it's possible. I assume you are embedding Web Chat using React. If you set the So you will listen to backchannel, when you get the signal, you set it in your React code, done. 😃 |
still im not clear with that..how can i remove the image upload button from the chat window? |
|
This did not work for me :/ |
@compulim Hello William, Is there a way to do the configuration for a iframe like the following? <iframe src='https://webchat.botframework.com/embed/directline-csharp?s=YOUR_SECRET_HERE' style='min-width: 400px; width: 100%; min-height: 500px;'></iframe> |
@CharingJC |
Greetings
Thank you so much
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Corina ***@***.***>
Sent: Saturday, March 13, 2021 2:49:07 AM
To: microsoft/BotFramework-WebChat ***@***.***>
Cc: CharingJC ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/BotFramework-WebChat] Fix #798 hide upload button (#883)
@CharingJC<https://github.com/CharingJC> iframe Web Chat does not have a way to modify style options. Only default iframe props can be assigned (width, etc).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#883 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR3M2NTEUOJW5WJ4MM4YVULTDJHZHANCNFSM4EUEJHWA>.
|
New prop
showUploadButton
to hide upload button. It is default totrue
.