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

Anyone else having a problem with Twilio SMS messages are being flagged by the carrier?

Message filtered Possible Causes Your message was identified as spam or unwanted messaging by Twilio's message filtering system Your message was flagged as objectionable and blocked by a wireless carrier Also Twilio showing that SMS status is not…
Timothy
  • 21
  • 2
2
votes
1 answer

Synchronize conversation error for twilio conversation sdk

I have followed Android quickstart conversations project I am facing a crash with following details - com.twilio.conversations.ListenerException: Exception thrown by a listener. Your application might have a problem in listener implementation.…
2
votes
1 answer

Changing PredefinedChatMessageBody based on preengagement data in Twilio Flex

Recently I am trying to use Twilio Flex Web Chat in my project and I am using a pre-engagement form for collecting user names. In the pre-engagement form based on the data collected I want to show a welcome message.I have tried this code but seems…
Utpal
  • 805
  • 4
  • 15
  • 44
2
votes
1 answer

Twilio Client JS-SDK Websocket cannot establish connection

I'm trying to connect with Twilio using the line below: Twilio.Device.setup(token, { debug: true }); I already check the JWT and it is correct however the connection keeps re-establishing logs bellow: Setting up VSP log.ts:80 Initializing…
2
votes
0 answers

Twillio Error: Unable to connect: Can't find service instance with unique name 'default'

I have a twillio token https://jsfiddle.net/Simon060694/nzox9du4/15/, but when trying to create a client got Error: Unable to connect: Can't find service instance with unique name 'default'. What does it mean?
Simon Pasku
  • 539
  • 2
  • 4
  • 17
2
votes
1 answer

How to use Twilio to send customized PDF’s from Google Drive/Sheets

I am having problems trying to send customized PDFs from Google Drive to users on WhatsApp using Twilio’s API. I am using node.js and the documents are created in Google Sheets and stored in Google Drive. client.messages .create({ …
2
votes
1 answer

Validate Twilio webhook incoming request with API key and secret, instead of using Auth Token

Instead of using Twilio Auth Token to validate the incoming webhook request from twilo, I want to use API key - API Key Secret combination to validate the request. I am not being able to find an option in twilio lib
2
votes
0 answers

Capture Twilio message history using Flex and webhooks

I am using Twilio Flex and can see that the message history between the user and agent exists under the specific channel. Now, I want to be able to capture this message history once the agent wraps up the chat. Initially, I was going to go with…
Josh Hale
  • 467
  • 1
  • 5
  • 12
2
votes
2 answers

Dismiss react error messages after a timeout

I am trying to display some react error messages and hide them after a timeout of 5 seconds. Below is the code: import * as React from 'react' import {ErrorInfo} from '../Twilio/api' export const Error = ({type, message, visible}: ErrorInfo) => ( …
Vipin Verma
  • 5,330
  • 11
  • 50
  • 92
2
votes
0 answers

Dialogflow webhook response is not being sent to Twilio - Getting 14103 Invalid Body error on Twilio debugger

I am implementing a chat bot that is integrated with WhatsApp via Twilio. The bot is on V2 API and I have implemented the integrations on Google cloud as they would be shut. When I trigger the bot from WhatsApp, the right intent is triggered and the…
2
votes
2 answers

Twilio: Autopilot to Initiate Conversation

We're a delivery service company. When an order is placed, we wish to send out a delivery job offer to our drivers. The jobs are first-come-first-serve. Orders are processed on our NodeJS server. What would be an efficient way to text (SMS) each of…
Devon Fazekas
  • 171
  • 1
  • 8
2
votes
2 answers

Is there any helper function or Package that helps in Twilio Sms flutter application

I am trying to create a flutter application that sends SMS to relatives of an elderly person if he has not consumed his medicine on time. I was planning on using Twilio but there is not enough documentation and resources for me to implement it.…
2
votes
1 answer

Twilio function event parameter does not contain value. Example: Event.name object is undefined

I'm facing an issue where when my twilio funciton is called, when i pass in two function parameters as shown below, they cannot be accessed from within the twilio function. The error says that event.name is undefined. but im passing a parameter…
2
votes
1 answer

How to listen for messages on a single channel in Twilio Programmable Chat

Using twilio-chat.js how can I listen for messages on a single channel? I found this question which asks how to listen on multiple channels, but I can't find anything describing how to do this on a single channel. (Where token is an Access…
2
votes
2 answers

Twilio Whatsapp: Sending Multiple Media Messages

I am trying to loop through an array to send multiple messages in Twilio sequentially. But in my final output in Whatsapp, the order is not sequential. For example, it displays in the order of: Image 2 -> Image 1 -> Image 3. I have tried to use the…
John C
  • 517
  • 2
  • 6
  • 16
1 2
3
25 26