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
0
votes
1 answer

Twilio: Sending SMS to US numbers is not working

When we are using Twilio SMS programmable interface to send a SMS to a USA number, it is not working. However, if we use the same account and try to send a SMS to an Indian number, the SMS is getting successfully delivered. Is there are any specific…
Ahir
  • 1
  • 1
0
votes
1 answer

Play audio before hangup

Is it possible to play audio before hang up? I am streaming audio to google text to speech through a web socket. I want to play an audio file before hang up. I tried to send twiml like…
0
votes
1 answer

Is there a way to add private channels to twilio programmable chat?

I am trying to build a web app using c# and .net core framework using mvc format. We are looking to add an in-app chat feature and decided to go with Twilio's programmable chat product. We've been going through Twilio's documentation and came across…
0
votes
1 answer

Twilio Studio: Possible to call own REST API for recursion?

Is it possible to call your own REST API for the same Twilio Studio Flow in order to run through the flow again but with a decreased counter for example?
0
votes
0 answers

Identifying forwarded WhatsApp Messages

I would like to explain a scenario. Our users can send voice note to our WhatsApp chatbot and we can grab the audio using the MediaUrl0 from the callback url. However, we want to be able to check if a previously submitted voice note is being…
shekwo
  • 1,411
  • 1
  • 20
  • 50
0
votes
1 answer

Twilio Chat SDK iOS, notification badge not working for app

I have used Twilio Chat SDK for my iOS app. The notifications when new message is added to the channel is coming up fine. But it doesn't update the app's notification badge count. I have attached the screenshot for push notification configuration…
Prajeet Shrestha
  • 7,978
  • 3
  • 34
  • 63
0
votes
3 answers

Run a flow from another flow in Twilio

How can I run a flow from another flow in Twilio Studio Flow? Help with defining the To and From HTTP parameters: I am a beginner in programming so I am failing to understand the brief notes given in support docs, namely specifying HTTP additional…
0
votes
1 answer

TWILIO CHAT : what am i doing wrong in getting members online update

I initialize the chat client using chat token . i have two members in each channel . I want to know whether the user online or not. For that in backend i added twilio chat service instance { reachabilityEnabled: true } as the doc says and in…
Vipul
  • 63
  • 1
  • 6
0
votes
1 answer

Resolve Twilio "Uncaught (in promise) t: Error while setting LastConsumedMessageIndex" error message

I am getting "Uncaught (in promise) t: Error while setting LastConsumedMessageIndex" error message when I am adding a message from Twilio Chat API, after Wraupup chat task. If the agent clicks Complete Task in Twilio Flex just immediately after…
0
votes
1 answer

How do I automatically cleanup old Twilio Chat Channels on a schedule?

I built a production application that uses Twilio Programmable Chat for one of its features. It occurred to me that the app creates lots and lots of chat channels each day and there is no way to expire them automatically. Twilio limits you to…
0
votes
2 answers

Twilio Studio Survey Summary at the end

I have developed a Covid-19 Symptom Whatsapp Chatbot using Twilio. The bot basically asks users questions about key symptoms related to Covid-19. Based on their answers, the bot has to give the users a summary/conclusion i.e. visit the doctor ASAP…
db100
  • 55
  • 10
0
votes
1 answer

updateLastConsumedMessageIndex freezes causing no update in messages

When component is mounted the channel is either grabbed from existing or created a new. This channel is later saved in the state for persist-ency in component. When the component is clicked all the channel messages are updated to consumed. The Code…
0
votes
1 answer

Twilio : Using the body of the inbound sms to reply with a unique outbound sms

I'm hoping to use Twilio programmable SMS to use the body of an incoming SMS (which in most cases will be a unique number sent from a customer). Grab that number and insert it as part of an automated outbound SMS reply. Eg: Customer sends "12345678"…
James Cook
  • 334
  • 4
  • 16
0
votes
1 answer

can't get channel by a unqiue name twillio programmabale chat node js

//this is my code to get channel by unique name. It is not giving me any response client.chat.services(serviceSid) .channels({uniqueName:'demo'}) .fetch() .then(channel => console.log(channel)); // this is form sid of…
0
votes
1 answer

Twilio autopilot send response as image to users whatsapp

I am building a bot so whenever a specific task is initiated I want to send an image to the user. exports.handler = function(context, event, callback) { let response = { "actions": [ { "show": { "body":…
Khushal Goyal
  • 57
  • 2
  • 6