Twilio Conversations is an API for building multi-channel conversation-applications using Twilio platform services for a unified communication using chat, SMS, whatsapp, etc.
Questions tagged [twilio-conversations]
137 questions
1
vote
0 answers
Twilio Conversation Disconnects for No Reason
I am using the Twilio Conversations JavaScript client and am running into issues with a conversation randomly disconnecting.
I am using react and am careful to look out for unnecessary rerenders but it's only with direct Conversation objects that I…

Cup of Java
- 1,769
- 2
- 21
- 34
1
vote
0 answers
Twilio Conversations API - Reply like in WhatsAPP
We're in the middle of a PoC to build a Chat App using Twilio Conversations API.
We have almost all what we need so far, although I haven't found a way to implement the Reply feature like in WhatsApp:
But what we get in our Chat screen is only the…

Carlos Daniel
- 2,459
- 25
- 30
1
vote
0 answers
Getting Total unread messages count in Twilio Conversations
we're using Twilio Conversations to power 1-to-1 chat for a webapp. I see that the unreadMessagesCount implemented via Read Horizon can indicate the number of unread messages in a particular conversation for a participant.
My question: Is there a…

CP3
- 11
- 2
1
vote
0 answers
Twilio Conversations: How to create conversation with similar participants without running into 409?
Similar to this question, I am attempting to do the following:
I have a Twilio conversation C1 with participants P1, P2
I want to create a new conversation with participants P1, P2, P3
As soon as I add P2 to the new convo, I will get the famous…

Zyad Elgohary
- 51
- 2
1
vote
1 answer
Display friendly name instead of identity on a conversation
i'm trying to display the user's friendly name in a conversation but seems like the Message resource only retrieves the identity string as the message author
I've tried to fetch the conversation participants, create a new array with the messages and…

Fercho5656
- 43
- 5
1
vote
0 answers
Twilio client .create returns undefined in Functions
I'm trying to utilize Twilio to create a WhatsApp group, using the instructions from TwilioDevEd here: https://github.com/TwilioDevEd/whatsapp-group-messaging and running createConversation.js using exactly the code provided. (I've shown this code…

nsm0213
- 11
- 1
1
vote
0 answers
Twilio conversations "messageAdded" event sometimes does not fire after message is sent
Description:
After onMessageSent handler is registered on Twilio Conversation object, when new message is sent using conversation.sendMessage(messageText) sometimes handler is not called. This seems to happen randomly e.g:
I'm sending 4 messages…

Kuba Sułkowski
- 35
- 1
- 7
1
vote
1 answer
"Failed to issue Dequeue" when using Twilio Task Router for non-phone related tasks
NOTE: Code snippets below are functional. The "dequeue" error mentioned in this post was based on an existing Assignment Callback external to these scripts. Once the URL was removed and the reservation.dequeue moved to this code, the error was…

tcbeaton
- 85
- 7
1
vote
1 answer
Twilio Token.ToJwt() causes ThrowAddingDuplicateWithKeyArgumentException
I am using Twilio Conversation and generating JWT for token.
When calling new Twilio.Jwt.AccessToken(/*parameters*/).ToJwt() method, it causes
'token.ToJwt()' threw an exception of type 'System.ArgumentException'
Data:…

Takeo Nishioka
- 369
- 2
- 11
1
vote
0 answers
Flutter Twilio Conversation chat title body are null when send text
I am implementing Twilio Conversations chat in Flutter. I have configured notification in Android according to document. Register token for notification. There is one issue that when I tried to listen for messages from the notification event I am…

shilpa vania
- 11
- 1
- 3
1
vote
0 answers
How to architect team-based chat?
We are evaluating a chat solution for a system we are developing. Twilio Conversations is our preferred option, as we also plan to use video. Our requirement seems to be a bit atypical of most solutions, and we are trying to determine the best…

Howie
- 1,845
- 1
- 10
- 11
1
vote
1 answer
Twilio "GCM/FCM unauthorized error: GCM/FCM API key is revoked or invalid" in conversations push notifications
I have implemented a simple chat using Twilio conversations API. I'm following the doc for web push notifications (https://www.twilio.com/docs/conversations/javascript/push-notifications-web) and it's not clear to me what "FCM SECRET" I need to…

Cesar
- 707
- 3
- 13
1
vote
1 answer
Twilio conversations get online users
I am using twilio conversations for chat. I did not find any information on this in the documentation.
My questions are:
Can I get information about whether the users of the conversation are offline or online? If yes, then how to.
Should I manually…

Crafty
- 25
- 6
1
vote
1 answer
Is there a way to display a friendly name instead of the identity in Twilio Frontline?
I'm currently using Twilio Frontline on top of my conversation service and my identity for each user is a uuid so when a message comes in on Frontline, it displays that user's uuid. This can get confusing if we have multiple participants in chat.…

Rob Mason
- 79
- 1
- 5
1
vote
1 answer
Conversation Service Resource API returns undefined
I followed the tutorial described here: https://www.twilio.com/docs/conversations/api/service-resource
The following code returns "TypeError: Cannot read property 'create' of undefined"
const twilioClient = twilio(twilioAccountSid,…

Logan Cundiff
- 479
- 8
- 13