twilio-api

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 How to do pagination with messages?

可紊 提交于 2020-12-12 06:16:21
问题 I am able to get the messages from the new php client. How do I do pagination with messages? How to get next_uri, first_uri, page_size parameters ? <?php require_once '/Twilio/autoload.php'; // Loads the library use Twilio\Rest\Client; // Your Account Sid and Auth Token from twilio.com/user/account $sid = "xxx"; $token = "xxx"; $client = new Client($sid, $token); // Loop over the list of messages and echo a property for each one foreach ($client->messages->read() as $message) { echo $message-