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

Twilio Client Chat - Send media message

How can I send media message in Chat Client ? I'm using JS SDK and base on the tutorial https://www.twilio.com/docs/api/chat/guides/media-support, but getting error. I'm using the sendMessage method like this: channel.sendMessage({ contentType:…
HoangNguyen
  • 183
  • 2
  • 9
1
vote
2 answers

channel.on not recognized as a function in Twilio API

I have the following function in a ReactJS app that is supposed to initialize the Twilio services that I am using. However, it seems like the Twilio channels are not being accessed correctly. Here is my code: componentDidMount() { let chatClient…
Alex
  • 3,946
  • 11
  • 38
  • 66
0
votes
1 answer

Twilio Conversation API integration in .net web application

We have two different web applications, one application is developed in .Net core MVC technology and another application is developed in classic asp.net technology. We want to add live chat functionality between the above two applications users. How…
0
votes
1 answer

Using Twilio serverless functions to send content api templates in WhatsApp

When a user starts a conversation with my WhatsApp bot, it will initiate a new studio flow execution. The first widget is to call a function built in the Twilio serverless functions. The function executes just fine and the WhatsApp quick-reply…
0
votes
1 answer

Can not send Whatsapp message Twilio c#

I am trying to send Wahtsapp message using Twilio but message not arrive yet This the code in c#: string accountSid = "********************************************"; string authToken =…
0
votes
1 answer

Is there a way to make a Twilio template (content) to allow user choose more than one choice?

Can I make list picker template in Twilio but with enabling multiple choosing? ex.) choose your favorite two colors Red Black Blue Green Now I want the request body to be like: request.Body = "Red,Green" or any other format. I tried to make it…
0
votes
0 answers

Stream - WebSocket - Handshake Error in Twilio

I am trying to initiate a call with Dial and start a data stream with Media Streamings so I can use that information later. The problem is that the call goes through, but no message is sent through the websocket and the twilio console gives me this…
0
votes
0 answers

Receiving Smileys/Emojis in Twilio conversation webhooks and API calls

My application retrieves SMSs sent to a Twilio number. When looking at the twilio backend message log, the emojis are displaying correctly. However, when the webhook is triggered or if the API is called to retrieve message data, I am not receiving a…
0
votes
0 answers

Is there a function or method to use voice response (say) in twilio inside the streaming function?

def call(): """Accept a phone call.""" global response start = Start() start.stream(url=f'wss://{request.host}/stream') response.append(start) response.say('Please leave a message') response.pause(length=60) I want to…
0
votes
1 answer

Does Twilio support threaded conversations in a chat app?

We are building a chat app where we want to support threaded conversation to maintain context just like popular apps like Slack or Discord. Does Twilio chat APIs support that? I did find a reference to this in their documents but not enough details…
0
votes
0 answers

Twilio react app(github) not working from their official docs

I am trying to run Twilio react app from GitHub but facing some issue. I have tried to debug the application but not able to resolve issue. Looks like problem is there in their official GitHub repo. enter image description here
0
votes
1 answer

How do I delay sending responses to Twilio SMS webhook

router.post('/sms', (req, res)=>{ main(); res.sendStatus(200); }) res.sendStatus(200) responds with a 'OK' text message instantly. How do I delay responding back to the post request by 10 minutes? Is it possible to acknowledge the…
sam
  • 39
  • 6
0
votes
1 answer

How i can get the location data {latitude,longitude,Address} of whatsapp using the Twilio API?

I am not receiving location data {latitude,longitude,Address} from response whatsapp using the Twilio API. I have also tried using postman to get location data but did not get {latitude,longitude,Address}. { "body": "", "index": 11, "author":…
0
votes
0 answers

Can you create a voicemail to leave automatically if the call isn't answered, Flex => Customer

Quick Question: I am attempting to implement an automatic voicemail feature in my Twilio Flex application, where if a customer does not answer a call made by an agent, the system will automatically leave a voicemail message. I know that it is…
Carter McKay
  • 432
  • 2
  • 12
0
votes
1 answer

Get a Twilio plugin to load

Twilio Plugin downloaded but not loaded I followed this tutorial, on chat transfer, and all the steps work fine. except the actual transfer button does not appear https://www.twilio.com/docs/flex/solutions-library/chat-and-sms-transfers Looking a…
iamreddave
  • 39
  • 5