Cannot receive media attachment file in Twilio Flex

这一生的挚爱 提交于 2020-12-15 06:44:31

问题


Project description: Currently we have our customers using various chat platforms such as whatsapp , and slack where our contact center is forced to use the same. However, we would like to give Twilio flex platform to our contact service team so that they can reply messages coming from whatsapp, slack.

Query regarding media messages: I use Javascript Client SDK for front end and connect Twilio Flex as an agent. Chat is working fine. I can send / Receive messages. But, when I send media files through SDK, 'Media messages are not supported' is displaying in Twilio Flex. When I use get All Messages from API able to get that media file as message with type = media. Also media SID is created for the uploaded file. But not able to view the same file in twilio flex.


回答1:


You are correct, Flex does not support media attachments. You could possibly work on some logic to pass in the media URL to the agent via chat, but I have not seen any code examples to share.



来源:https://stackoverflow.com/questions/59056961/cannot-receive-media-attachment-file-in-twilio-flex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!