Questions tagged [twilio-programmable-chat]

For questions about Twilio's text chat APIs. This is distinct from their voice chat or SMS messaging APIs, which should be tagged as "twilio-api".

Programmable Chat which is part of Twilio solutions:

Add chat to any app with SDKs for mobile and web. Powered by the Twilio cloud.

Site: https://www.twilio.com/chat

Docs: https://www.twilio.com/docs/api/chat

383 questions
2
votes
1 answer

Unable to send gifs using Twilio

I am trying to send this gif - https://media.giphy.com/media/YVBC4HdSpB7z2/giphy.gif - using Twilio but I am getting this error - Channel did not accept given content. Please see Channel specific error message for more information. This is my code -…
shekwo
  • 1,411
  • 1
  • 20
  • 50
2
votes
1 answer

Receive and respond to Twilio SMS in Apps Script

I am trying to respond to incoming sms messages with Apps Script through Twilio. I have done all the steps exactly as in the video below. https://youtu.be/j0wjM1Ds3lc I currently have a doGet function to handle incoming sms messages. In my Twilio…
2
votes
0 answers

Twilio channel already exists

How can I fix this porblem: Channel with provided unique name already exists Here is the code for creating channel: tc.joinGeneralChannel = function () { console.log('Attempting to join ' + $channelName + 'chat channel...'); if…
user3779015
  • 499
  • 1
  • 4
  • 19
2
votes
0 answers

Unhandled promise rejection Error: "Can't connect to twilsock"

I go through this tutorial Unhandled promise rejection Error: "Can't connect to twilsock" http://media.twiliocdn.com/sdk/js/chat/v3.0/twilio-chat.min.js:204 t http://media.twiliocdn.com/sdk/js/chat/v3.0/twilio-chat.min.js:204 t…
2
votes
0 answers

Twilio Programmable Chat Android push notifications are data only

I've configured Twilio Programmable Chat to send notifications for new chat messages via FCM and it's generally working. However the push notifications received by the Android app are data-only messages and not notification messages…
martinl
  • 1,550
  • 1
  • 8
  • 10
2
votes
0 answers

How can I invite a user to a newly created private chat channel using the Twilio?

I have created a private channel, and joined the channel. I like to invite another user to join that channel and chat. To be clear, this should be a chat between two members only. public class MainActivity extends AppCompatActivity { /* …
Manikandan
  • 1,479
  • 6
  • 48
  • 89
2
votes
4 answers

Twilio Programmable Chat throwing Can't connect to twilsock

When I'm trying to use the programmatic chat I'm constantly getting this error Error: Can't connect to twilsock at t (twilio-chat.min.js:204) at t (twilio-chat.min.js:204) at new t (twilio-chat.min.js:204) at e.value (twilio-chat.min.js:204) at…
2
votes
0 answers

Null object reference while get last messages from channel object - Twilio programmable chat Android SDK

So it's about getting, java.lang.NullPointerException while using Twilio programable chat SDK in Android I have one fragment where I am getting the list of the channel, On the click of the particular channel I am passing the channel sid from…
2
votes
1 answer

Programatically created tasks attributes not displayed in Twilio Flex

I am experimenting with Twilio Flex. What we are trying to build is chat(bot) application integrating two or three participants (user + cc human agent + chabot versus user + cc human agent). I am able to join Twilio chat channel (both from web…
2
votes
0 answers

Pushing messages from WhatsApp to Twilio Flex via Twilio Studio results in Schema Validation Warning 12200

I have set the project up as described in the blog post Twilio WhatsApp API and Flex in Minutes. I followed the instructions and even after repeating the process twice, on two different accounts, when I send the message (through sandbox), the…
2
votes
1 answer

twilio how to get possible users

I retrieved an access token from my server and have connected the JavaScript SDk chat client like so. I have created a channel like so. The next step I'd like to invite a user like this. In that example they invite the user 'elmo'. Where do I get…
Wilhelmina Lohan
  • 2,803
  • 2
  • 29
  • 58
2
votes
1 answer

How can I get invites for a member in Twilio Chat using Twilio Chat Swift SDK

I was able to invite a member to a private channel. I would like to display all the invites for a particular member and give them the option of accepting / declining an invitation. I've been through the documentation but I couldn't find how to list…
Dhivysh
  • 259
  • 3
  • 10
2
votes
1 answer

Twilio Programmable Chat JavaScript SDK (v3) region option causing error

I'm currently trying to set the region option when initiating Twilio's Javascript programmable chat helper library (Twilio-chat). Previously I was using the default settings and mostly the library worked great (some performance issues, hence the…
2
votes
1 answer

Twilio functions: press intercom key

Im trying learn Twilio by making a practical simple app. I have a phone number setup to Twilio Studio flow. The flow will execute a Runtime Function. I'm trying to make it so that the function will press the number "9" key. The idea is that this…
2
votes
1 answer

How to set Twilio chat push notification in web app

I'm using Twilio programmable chat and wanted to send push notification to mobile app(iOS, Android) and web app as well. I followed the steps given in Twilio Still, I'm not getting notifications in web and mobile apps as well. Following is the…
Sankar
  • 343
  • 2
  • 6
  • 18