Questions tagged [twilio-conversations]

Twilio Conversations is an API for building multi-channel conversation-applications using Twilio platform services for a unified communication using chat, SMS, whatsapp, etc.

137 questions
0
votes
2 answers

Read multiple conversations resources - ordering?

My question is about the following…
RvPr
  • 1,074
  • 1
  • 9
  • 26
0
votes
1 answer

Angular - build error, twilio-conversation

I'm facing the below-mentioned issue while generating production build after using @twilio/Conversations. ERROR in ../node_modules/twilsock/builds/browser.js Module build failed (from…
Khushbu Raval
  • 1,167
  • 1
  • 6
  • 12
0
votes
1 answer

Twilio conversation js sdk Conversation.create() is depreceated

Working with Twilio conversation-demo app, but ConversationsClient.create(this.state.token); .create method is depreceated, so how can we initConversations. And anyone can please help me how to do the sdk in react hooks.
Abhishek Singh
  • 563
  • 1
  • 6
  • 18
0
votes
1 answer

How to detect when a Twilio conversation is set closed (including autoclosed)?

If I create a Twilio conversation like so... conversation = client.conversations.conversations.create( friendly_name='foo', unique_name='foo', timers_closed='PT24H' ) ...after 24 hours the conversation state is set to 'closed', as expected.…
Chris W.
  • 37,583
  • 36
  • 99
  • 136
0
votes
0 answers

Twilio 'Message Body not provided'

I am trying to send a media message via Twilio conversations api. In the documentation it shows and example using cURL like this below curl -u ":" -X POST…
KingJoeffrey
  • 303
  • 5
  • 16
0
votes
1 answer

Error calling "updateToken" on client denied state change, using Twilio Conversations JS SDK

I am using the Twilio conversations JS SDK, and I need to refresh my connection token if it is expired or invalid. The issue is that, if I call the updateToken() function when the connection state change to "denied", I get the following…
Cesar
  • 707
  • 3
  • 13
0
votes
1 answer

Sending audio message with Twilio Conversations

I am trying to send audio message with twillio conversations. According to the documentation I should send a contentType and a media of type string or Buffer. The Buffer constructor is missing in JS so I used the following method to create a buffer:…
Crafty
  • 25
  • 6
0
votes
1 answer

How to handle incoming message to create a conversation in Twilio conversation api?

I have a chat app link now I need to add a SMS participant. My use case is say you have a number and you send a message in my twilio number. Now I want to create a conversation between us. I need to know what are the steps to handle an incoming…
Shirish Pokhrel
  • 235
  • 3
  • 13
0
votes
0 answers

React Native - Twilio chat conversation does not receive messages via registered 'messageAdded' listener

I am currently trying to migrate a mobile react-native application (working with expo) from twilio-chat to twilio-conversations. Already did it with the browser based agent-application which works fine. The react-native app is able to send messages,…
Ele
  • 154
  • 1
  • 10
0
votes
0 answers

Not Receiving Twilio message using conversation API in rails

I am working on Twilio conversation API and trying to implement a custom solution. Outbound messages are working perfectly. But the problem is I am unable to receive a message. When I send a message to Twilio trial number from my mobile phone, it…
0
votes
0 answers

How to pagination TWILIO Conversations and its messages in PHP?

I am having issues in paginating the TWILIO Conversations and Its messages. I have tried to paginate but all the pages are giving same results. Can someone please help ? $conversations = $twilio ->conversations ->v1 …
Bhavik Gajera
  • 43
  • 1
  • 7
0
votes
1 answer

Twilio Remove listeners from conversations

Hello trying to make a conversations app based on twilio The app is doing fine but everytime someone clicks a Conversation from the Conversations List, it starts a useEffect, the useEffect has something like the following function: const…
0
votes
1 answer

returning empty object Nodejs adding attributes to twilio conversations API

I am using twilio conversations Api to create a little sms chat app. I need to set an attributes object , but when I set it like below it just returns empty. Any twilio experts out there know how to solve this? NOTE from docs : Attributes - An…
KingJoeffrey
  • 303
  • 5
  • 16
0
votes
1 answer

Twilio Conversations twilsock.InitRegistration() is not a constructor

Given this, im getting this output... import { Client } from '@twilio/conversations'; ... crap.... this.client = new Client(this.token); this.client.on('stateChanged', state => { if (state === 'initialized') { this.ready =…
Clark T.
  • 1,470
  • 2
  • 11
  • 25
0
votes
0 answers

Twilio Conversations + React Native, notifications do not working on IOS (firebase)

does somebody implements push notifications on twilio conversations with react native and firebase? Notifications work well on android and config on ios is also fine (cloud messages from firebase console came). Is it possible to use ios with…