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 get latest chat channels using Rest API - PHP Laravel

I'm trying to get latest chat channels for example Chat Channels with dateCreated or dateUpdated > '2019-11-13 00:00:00'. I couldn't find any resource which uses date attribute to filter results. Currently we use the Api Endpoint:…
0
votes
0 answers

Cannot update refreshed token in twilio programmable chat using react

In twilio programmable chat, I used tokenAboutToExpire event to update the access token. The event triggered perfectly. After that I fetch the new token from API and updated the chatClient with the new token by using updateToken. Once I consoled the…
Danielprabhakaran N
  • 530
  • 1
  • 7
  • 16
0
votes
1 answer

can I implement gestures with twilio programmable chat?

I am creating a web chat and I was wondering if someone could point me in the right direction of implementing a gesture such as raising one's hand. Can I do this with twilio programmable chat ?
Aldon Palmer
  • 182
  • 2
  • 12
0
votes
1 answer

How I receive and process WhatsApp messages on my ASP.NET Core MVC app with Twilio?

Im trying to build a botchat in WhatsApp, using ASP.NET Core MVC, C# and Twilio. I can send messages to a WhatsApp (my) number. But I don't know how to receive and do something with those income messages. The Twilio docs tutorial is not…
0
votes
0 answers

How to use Twilio Flex for 'bot to human handoff' when my webchat interface isn't built using Twilio?

I have already built a webchat for my website using Dialogflow. I want to add the feature of talking with a human agent as and when the customer wants. How do I achieve this using Twilio Flex? When the customer asks the bot to connect him/her to a…
0
votes
2 answers

Using django-twilio package forgery protection is creating forbidden 403 error

I am using django-twilio package for forgery protection django-twilio forgery protection docs I have a django texting app that is being used to both send automated messages directly through my cellphone messenger and also from my website while…
Padoga
  • 495
  • 3
  • 18
0
votes
2 answers

How can I ask a different question depending on the user's answer?

I've found out that it's faster to get a reply here than in Twilio's support, so here it goes: I need to ask the user 3 questions, however, if the first answer is yes, there will be an extra question right on the spot. Is it possible to do it on the…
0
votes
0 answers

Every token generated using the Twilio nodejs library is saying "Invalid Signature" in the JWT debugger

Node version: 10.16.0 Twilio NodeJS library: twilio@3.34.0 Twilio Client library: twilio@3.3.1 Every JWT token that I generate using the twilio nodejs library is giving me the error Invalid Signature in the JWT debugger in https://jwt.io. I'm able…
Jophin Joseph
  • 2,864
  • 4
  • 27
  • 40
0
votes
1 answer

How to get the value of variable inside a function without using the return statement?

I'm using twilio api for receiving and sending whatsapp messages using the python and flask framework.The problem is when I'm sending the message it stores the content inside a variable which is declare inside a function and I wanted the variable…
0
votes
1 answer

Redirect To WebPage after Twilio SMS sent on website / but do not redirect if sms sent through phone

I am using a single twilio number to trigger an sms being sent through a django function. If a person accesses my app through my website then the app will parse sendphonenum from a post request from the website. If a person accesses my app by…
Padoga
  • 495
  • 3
  • 18
0
votes
0 answers

Whats App chatbot with twilio function to login into 3rd party web application

Need guidance to develop whatsApp chatbot to login into a 3rd party application using twilio functions. Whenever a user sends whatsApp message to twilio number I want to login into 3rd party web application and query necessary data and respond back…
0
votes
2 answers

Twilio chat- getUnconsumedMessagesCount is returning null

Twilio chat is returning getUnconsumedMessagesCount as null for all channel even channel has unread messages. Any twilio expert here The consumption horizon is updated with "setAllMessagesConsumed" and "updateLastConsumedMessageIndex" method still…
Kishore B
  • 1
  • 1
0
votes
0 answers

Twilio Chat - Can't fetch public channel "services.publicChannels is undefined" unless member of channel

The error I am getting is: TypeError: "_this6.services.publicChannels is undefined" _callee4$/
Nick Zinger
  • 1,174
  • 1
  • 12
  • 28
0
votes
2 answers

Can't receive incoming sms body individual words using twilio

I'm using the Twilio PHP API on my site for sending and receive sms.i successfully send sms but i can't receive individual words from incoming sms.suppose a customer sent a sms in my twilio number like="i am going home" now i want to take two words…
0
votes
0 answers

Can't store incoming message in my database using twilio

I am using twilio for sending sms.i can sent sms but i can't receive incoming sms and can't store in my database.When i receive SMS from my customers to my twilio number. i want to get the fields like from number and the body and save to my…