Support clickable url
janteuni opened this issue · 4 comments
janteuni commented
When url are displayed in a text message or other messages type (the button message type also support a little text before buttons), we should have a clickable url.
Example:
message: "Please visit our website for more information here: https://john.doe/faq"
As a user, I should be able to click on the url and open it in a new page.
CometS1 commented
I would like to work on this. How do you build and host it for testing?
janteuni commented
Hello :)
@OlivierNguyen Can you help ?
OlivierNguyen commented
You will need to run npm run build
in the repository and create manually an index.html
where you add this script tag:
<script
src="../dist/webchat.js"
channelId="YOUR_CHANNEL_ID"
token="YOUR_TOKEN"
id="recast-webchat"
></script>
YOUR_CHANNEL_ID
and YOUR_TOKEN
can be found in the platform in your bot page -> Connect > Webchat
CometS1 commented
Where in the code does the app create the messages?