-
Notifications
You must be signed in to change notification settings - Fork 141
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
How to upload image into chatbot #37
Comments
Hello. Sorry, I don't understand the question. What do you mean by custom
component that selects from the gallery?
Best,
Fredrik
…On Wed, Mar 17, 2021 at 6:06 PM arissaraZ ***@***.***> wrote:
Hi,
Is there any way to provide file custom component which select from the
gallery?
Example of the custom component will be appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2WIPRUBQID2QOY3GTHYULTEDOHBANCNFSM4ZK7MC5Q>
.
|
I mean How to add button for upload image into chat like Facebook Messenger. |
If you want to render an image you can use widgets to that from the bot side. Do you have a use case where you want to upload an image as a user? |
Use case: When user click on upload image button to select image, then selected image will show on text input (change from placeholder to selected image). And if user confirm image to submit to click on send button. So that image will show in user chat is it possible? and if possible. Can you show me an example? please. Thanks |
Currently, this isn't possible. I'll look into building support for that. What you could do is to build an image widget that displays an image with a chatbot response, but you currently can't upload an image from the user side. |
Here's a way you can render an image before I improve support for this use case: First create an image widget:
Then register it in the config:
In your actionprovider:
That should help you render an image widget. |
I really appreciate you, Thank you so much. |
Sorry, I need help again. When use type: "user" followed your example, It's can't work but when use this.createChatBotMessag It's work. So Why doesn't work ? please help me for solution. |
Hi,
Is there any way to provide file custom component which select from the gallery?
Example of the custom component will be appreciated.
The text was updated successfully, but these errors were encountered: