twilio-programmable-chat

Clearscript Javascript 'require' functionality

主宰稳场 提交于 2021-02-20 03:55:27
问题 I am attempting to write a C# wrapper for the Twilio Programmable Chat tool. The library provided is for JS clients. I thought that using a tool like ClearScript (V8) would allow me to wrap the js as needed. The example code on the site is const Chat = require('twilio-chat'); // Make a secure request to your backend to retrieve an access token. // Use an authentication mechanism to prevent token exposure to 3rd parties. const accessToken = '<your accessToken>'; Chat.Client.create(accessToken)

Cannot receive media attachment file in Twilio Flex

笑着哭i 提交于 2020-12-15 06:44:45
问题 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

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

Twilio chat channel getMembers() method access forbitten

旧街凉风 提交于 2020-05-17 06:26:46
问题 After creating a channel in the Twilio Programmable Chat service, I am listening to the client events. One of those events is the channelAdded event. In the hook, I have to retrieve the Members of the channel (in order to get the opposite members name in a binary room) like so channel.getMembers() When I do this, Twilio returns: name: "SyncError" message: "Access forbidden for identity (status: 403, code: 54007)" status: 403 code: 54007 It would make sense if the user that is accessing that