Comments (6)
What does it do? What kind of format / content does the downloaded file have?
from webchatwidget.
What would be the use case for this?
from webchatwidget.
Hey dudes,
It would use our API to get the conversation and put this into a document. This could be a PDF file for business users. The use case could be the following:
Someone is chatting with their insurance or bank via the webchat. Since all included messages from the conversation could be important for the further process in the insurance or bank, the user might download this conversation. Then he/she could use this in order to tell the bank or insurance that he already did something with the bot.
from webchatwidget.
I'm still not quite sure what process you are describing.
As an end-user, i want to be able to have a download button on the webchat widget so i can save my conversation as a pdf-file?
From what you are describing, it is not clear to me who will see this button, the end-user in the webchat or the admin in the UI panel / livechat panel.
In case it is for the end-user, we cannot offer authentication credentials for the conversation api to end-users, that would have to be done in a different way.
from webchatwidget.
I agree with @alexteusz that this feature is nice to have.
@pedily, if PDF requires API authentication and we can't disclose API keys in the JS, can we generate some other file format on the fly? The user story can be the following:
As a webchat user, I want to be able to download my conversation with the bot, so I can refer to it in my future contacts with the company.
- The downloaded file can be in any format supported by the popular office programs, e.g. text, HTML, CSV.
- If possible, the format should prevent easy editing to somewhat guarantee authenticity (PDF).
from webchatwidget.
@antonxt it is possible to access the client-side conversation history of the webchat (using internal APIs, but we could build an official one!). From there, we could apply a "serialize this message" function to each message, merge that to one text string and "download" it locally using an anchor link.
from webchatwidget.
Related Issues (16)
- CSS Customization: Add Example for changing Avatar position
- How to handle webchat.toggle() with localStorage? HOT 1
- CSS feature request: allow referring to settings.colorScheme in custom CSS
- Docs - Custom Avatar: Missing Example
- Docs: Image Gallery is missing [data-cognigy-webchat] to make it work
- webchat.js is file absurdly huge
- Messages are getting duplicated on reconnect
- Teaser Message Settings are not documented
- Default placeholder is arabic HOT 1
- Class Names HOT 2
- Facebook List Element CSS Customization HOT 2
- Expected identifier (JavaScript) in IE11 Browser while loading webchat.js file HOT 1
- Persistent History is not working in Mozilla 68.5 HOT 1
- Not connecting without forcing Websockets HOT 2
- Typing Indicator repeats random times
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webchatwidget.