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
1
vote
1 answer

selecting correct from number when sending sms with alphanumeric sender id

I'm using twilio API for sending sms to my customers. suppose I have 2 phone numbers in twilio (US and AUS ). I want to use from number based on my customers location. if the customers is from US, then I send sms via US number, or if the customers…
newbie
  • 128
  • 2
  • 15
1
vote
2 answers

Error: Twilio.Exceptions.AuthenticationException: 'Username can not be null'

I'm trying to create a Twilio app in C#, I took the code on the official documentation. I installed all the packages that the doc ask, for and try to run the app, but the following message error appears: Code: using Twilio; using…
1
vote
1 answer

How to see if a twilio message has been read?

I have a nextjs project and I integrated twilio programmable chat. It basically works. Next step is to add notifications and I have very big problems due to the not updated or lack of doc. I tried this guide for web push notifications but I gave it…
Loudrous
  • 1,039
  • 10
  • 29
1
vote
1 answer

Twilio Conversations - Scoped Conversations and Messaging Services - how to connect?

I'm trying to make sure a phone number attached to a Messaging Service auto create a conversation in a specific conversation service not the default one. From the Conversations > Default screen on the console I can read this: What steps do I have…
1
vote
1 answer

Twilio not delivering outbound Whatsapp messages

I have a Whatsapp bot written in python and flask with Twilio as the Messaging API. The app was working fine until I noticed that responses sent from the app are not being delivered. Twilio however is still routing messages to my app correctly but…
1
vote
0 answers

Twillio Conversation - Facing issues while adding and removing multiple particpants

I am trying to add multiple participants to a particular discussion sid. if i am trying to add single participant, it is working properly. ** this "add" method is working for adding single participant. const addParticipant = async () => { const…
1
vote
1 answer

If /else statement in Twilio Function always return false

I want to test my if else condition in the Twilio function. The condition is if the user will text "Hi", Twilio will send him a quote. The problem the condition always runs false even if I texted "Hi". I'm not sure if the event.Body is the right…
1
vote
2 answers

How to Send a Sms and wait for reply in Python using Twilio?

I am trying to create a vaccine appointment scheduler in Python. I am reading data currently from an Excel Sheet which has the time slots and the phone numbers and I am sending them the text as: import csv from twilio.rest import…
1
vote
1 answer

Twilio Programmable Chat getChannelByUniqueName throws "Forbidden" Error

After creating a channel in my backend service, I am trying to join the channel in my react frontend in an useEffect hook like this: const initChat = async () => { const chatClient = await Client.create(props.token); const channel = await…
Ele
  • 154
  • 1
  • 10
1
vote
1 answer

How do I add someone to a Twilio Conversation Channel?

I'm using the Twilio Javascript Conversations SDK, and I'm migrating from the old Programmable Chat API. My question is, how do I add another user to the chat? The programmable chat feature had the invite method, but that's not a method in the…
1
vote
0 answers

Chat media url gets expired after few minutes

Package: https://www.npmjs.com/package/twilio-chat I have created a chat web application using Twilio. It display chat messages(includes media files) in the webpage. So, Once I load the channel and display the channel media messages(fetches URL of…
H_H
  • 1,460
  • 2
  • 15
  • 30
1
vote
1 answer

Is there a way to know if someone has blocked/blacklisted my twilio number?

Does Twilio have some functionality that allows us to check if our twilio number has been blocked/blacklisted by someone.
1
vote
1 answer

Check Twilio autopilot user input against multiple Twilio Types and custom Field Types after collect

I hope you are well and healthy. I am trying to check the user input in a Twilio function for a specific "collect" from autopilot against multiple Field Types which some are custom. For instance, I ask the user for their name first and then their…
1
vote
0 answers

How to retrieve Twilio my One to one private chat channel listing in android and IOS

I am creating Chatting platform using Twilio api, I am able to create one to one chat with other user by creating channel. This is how am giving my channel name POD_Direc_Chat_Myid_OtherUserId now my Questions is How can I find all channels where…
1
vote
0 answers

Access and managing of few Twilio chat instances from any component of the react/react-native application

Is there any way to have access to a few Twilio chat instances from any component of the application? Or have access to them in the parent component at least? I've tried to use a Redux as a store for chat instances, channels, etc. but my redux dev…