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
0 answers

Twilio Programmable Chat

I implemented Twilio Programmable Chat chat in my single page application (Angular-2, backend on JAVA). I noticed that when the app loaded it gets stuck for 3-5 seconds and then everything is back to normal. First, I thought my code is the one to be…
Tzamir
  • 54
  • 4
2
votes
1 answer

Twilio Chat IOS Production APN Certifications Error-52131

I have an issue with receiving notifications on Twilio Chat with Production APN Certifications, i get the error: Error - 52131 Invalid APNs credentials Possible Causes Credential (certificate and private key) is invalid. Certificate…
2
votes
1 answer

Twilio Programmable Chat sendMessage return value

The Twilio Programmable Chat channel 'sendMessage' method returns a promise with a value that appears to be the newly created message's index. However, this is not confirmed in the documentation. Is this value the actual index and is it a supported…
William Edmondson
  • 3,619
  • 3
  • 32
  • 41
2
votes
1 answer

Create a user using Twilio Programmable Chat JavaScript SDK

I create a Client and a private Channel I join. Then trying to add another user using: Channel.add(identity) I get 50200 - User not found I know a member has to be a user first. How do I create a user using the JavaScript SDK? EDIT: The most…
2
votes
1 answer

Image is replaced with URL when I send MMS via Twilio channel in Bot Framework nodejs

I am configuring a Twilio channel for BOt. I want to send MMS using this Bot to user. But Image which is attached in Bot framework, is replaced with a URL . Here is How I'm sending the MMS. fs.readFile(attachmentUrl, function (err, data) { …
2
votes
1 answer

Twilio push notification for programmable chat failed

I'm working on an app that uses the Twilio Programmable Chat API using node.js and angular js. I have enabled push configuration inside twilio chat instance. And i have created push credentilals in twilio with the firebase secret key. After this i…
2
votes
1 answer

Problems with verb Record timeout when calling an IVR

We're trying to use Twilio to create an automated test framework for those IVRs. We do an outbound call from Twilio to the IVR, use the verb Say/Play to interact with the IVR and we're using Record to capture what the IVR is saying, latter we…
renatorfr
  • 23
  • 1
  • 3
2
votes
0 answers

Initialise Twilio chat client getting error response as Operation has been canceled, unable to set FPA token in ANDROID

On initialising Twilio chat client, I am getting Error response as (errorInfo.getMessage: Operation has been canceled, unable to set FPA token) (error status from errorInfo.getstatus: 0) and (errorInfo.getCode: 2) It was initialising…
sham
  • 21
  • 5
2
votes
1 answer

Twilsock E: 'unsupported protocol: Mb\u000bHà\u0001]ÀÐ\r ver undefined'

I am creating a project using Twilio in React Native 0.46.4 following their example: https://github.com/twilio/TwilioChatJsReactNative Although, a weird error raises when initializing the API: import { Client as TwilioChatClient } from…
2
votes
1 answer

Android Twilio Programmable Chat disconnect when app goes to background

I developed chat application using Twilio Programmable Chat SDK on Android. Issue : There are two users A & B joined to a Channel "AB_Private" and doing chat working fine. Now user A press home button and put application in background. Twilio SDK…
Biraj Zalavadia
  • 28,348
  • 10
  • 61
  • 77
1
vote
0 answers

React Native Twillio: ERROR: {"error": "Invalid Access Token issuer/subject", "roomName": "my_room", "roomSid": ""}

i am building the video calling app in react native. i am successfully generating the token, now when i try to set up a video call it throws this error: ERROR: {"error": "Invalid Access Token issuer/subject", "roomName": "my_room", "roomSid": ""} i…
1
vote
0 answers

Trouble using MessagingResponse class in Twilio library to receive and reply to SMS

I am having trouble using Twilio's MessagingResponse class to send and receive messages using a webhook. I am using flask and ngrok to create a temporary URL to test my app, but I am getting a 502 error and 11200 warning with this new…
1
vote
0 answers

Getting Total unread messages count in Twilio Conversations

we're using Twilio Conversations to power 1-to-1 chat for a webapp. I see that the unreadMessagesCount implemented via Read Horizon can indicate the number of unread messages in a particular conversation for a participant. My question: Is there a…
1
vote
0 answers

How to generate twilio video calling link using REST API (without UI/UX) and share the link through email and join from browser

We are developing an utility where we need to generate the video calling link and share that video link to users where they can join from web browser directly without any web application. The documentation helps me to create room using /v1/Rooms…
1
vote
1 answer

Add buttons in whatsapp message response twilio

I currently have the following code which successfully replies any message I send with "Ola": @app.route("/bot", methods=["POST"]) def bot(): incoming_msg = request.values.get('Body', '').lower() resp = MessagingResponse() msg =…
Chognificent
  • 393
  • 6
  • 20