Skip to content

Markdown on Interactive Messaging #47

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
LahiruWijesuriya opened this issue Mar 29, 2022 · 2 comments
Closed

Markdown on Interactive Messaging #47

LahiruWijesuriya opened this issue Mar 29, 2022 · 2 comments

Comments

@LahiruWijesuriya
Copy link

Hi team,

When rendering a ListPicker InteractiveMessage or ChatMessage, how can we insert a link as such?

I've tried various methods, i.e.
https://codesandbox.io/s/snowy-field-r8d3c?file=/src/App.js:481-560
remarkjs/react-markdown#12
https://docs.aws.amazon.com/connect/latest/adminguide/enable-text-formatting-chat.html

@haomingli2020
Copy link
Collaborator

Currently we don't support text formatting in interactive messages. For chat messages you need to call StartChatContact API with the SupportedMessagingContentTypes set to [ "text/plain", "text/markdown" ], then send a message with content type text/markdown. It should be successfully sent through and you can have your own implementation to render it correctly.
To insert a link, just follow the common markdown syntax for links - https://www.markdownguide.org/basic-syntax/#links.

Does this answer your question?

@mhiaror
Copy link
Contributor

mhiaror commented Sep 26, 2022

Closing, no response from the issue creator.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants