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

How can I write assertions for testing a twilio app within the reply sms function

I'm trying to write functional tests for a twilio application using flask and python. For the very first step, I will send a text that will trigger the twilip app to reply. I want to test this and make sure the app is replying with the right…
learningruby347
  • 211
  • 1
  • 4
  • 12
0
votes
1 answer

Twilio Advanced Opt-in not sending

I'm building a text service with Twilio and configured and enabled the Advanced Opt-out / Opt-in settings in my messaging service. When testing the opt-in with my custom keyword I get this back instead my custom message Thanks for the message.…
dcotter
  • 312
  • 6
  • 22
0
votes
1 answer

How many phone numbers i can associate with one messaging service in twilio?

i am using twilio messaging service in my webapp. Here, each phone number have its own messaging service. I want to associate all phone numbers to 1 messaging service. Is it possible to send and receive messages on each phone number using 1…
0
votes
1 answer

Twilio WhatsApp - Already bought phone number and creating messages

To send an SMS we can do: await twilio.messages.create({ to: "07888888888", from: twilioMessagingServiceSid, body: "Body of message", }); When using Whatsapp is it possible to do the same in the from parameter as in passing the twilio…
Monko
  • 21
  • 2
0
votes
1 answer

Incoming SMS Phonenumber on Twilio

How do I retrieve the phone number of an incoming SMS sender? I'd like to fetch old records that this SMS sender has sent in the past. I'm currently doing this on my flask application webhook for Twilio: @app.route("/") def hello(): return…
Pri Mar
  • 105
  • 1
  • 6
0
votes
1 answer

twilio isn't sending sms nodejs

I use twilio to send sms after a order is placed, but it isn't sending any sms and also not console logging anything. Code: npm i twilio const accountSid = process.env.TWILIO_ACCOUNT_SID; const authToken = process.env.TWILIO_AUTH_TOKEN; const client…
Sai Krishnadas
  • 2,863
  • 9
  • 36
  • 69
0
votes
1 answer

Twilio Access Memory Variable in Say Action

Is there a simple way to access a memory variable inside an Autopilot Task's Say Action like
imolitor
  • 780
  • 6
  • 12
0
votes
1 answer

How to display pdf (documents) in react-native-gifted-chat

I'm sending images and pdf through gifted chat with twilio messaging. After sending I'm having trouble to show documents in gifted-chat ui. Here is the message object which gifted chat will accept: { _id: 1, text: 'My message', createdAt: new…
0
votes
0 answers

How to make a Post request multiple times asynchronously in a Twilio function

I am trying to achieve a functionality to send users(who are waiting in the queue after chat is initiated with a customer care) what number are they in the queue. I am calling an endpoint which gives me a number in the queue of the particular…
0
votes
1 answer

In Twilio Programmable Chat, in Laravel PHP, how to get all channels that a user belongs to?

I use Laravel PHP, and I tried this: $ucs = $twilio->chat->v2->services($this->serviceId) ->users($username) ->userChannels ->read(50); but it seems to be getting only the channels that user has created, not…
Vladimir Despotovic
  • 3,200
  • 2
  • 30
  • 58
0
votes
2 answers

In Twilio Programmable Chat, in Laravel backend, how to get members of a channel, given the channel code

How can I get the list of Twilio members of a channel, on my Laravel backend? I am using Programmable Chat API of Twilio. I tried using ChannelInstance members method or property, but I am not getting the list of members correctly. Is there a way to…
Vladimir Despotovic
  • 3,200
  • 2
  • 30
  • 58
0
votes
2 answers

twilio Error: Fetch resource from "Client/v1/Configuration" failed

i'm using react twilio-chat package for twlio conversation (chat). when I try to create client it throws this error Error: Fetch resource from "Client/v1/Configuration" failed. this is the decoded token I am passing in it "jti":…
0
votes
2 answers

ReactJS and Twilio - TypeError: this.props.history not defined

Learning React for the first time, and opted to use Twilio's chat app demo to get a jump start. I can render the welcome screen without issue, but not routed to the chat screen/room when I login. Including link to demo, code snippets, notes and more…
mrewilson
  • 1
  • 2
0
votes
1 answer

Twilio Outbound SMS Message Not Delivered

I'm using the following code to send an outbound SMS message from Twilio: from twilio.rest import Client account_sid = '' auth_token = '' client = Client(account_sid, auth_token) message = client.messages.create(to='
Hamza
  • 741
  • 1
  • 6
  • 12
0
votes
1 answer

Is there a way to know other user's device type in Twilio video call?

We are building a P2P video call service using Twilio video. Is there a way for one user to know which device other user is using for video call so that we can change designs a bit to support that? For eg, if one user is using Desktop and other user…