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
2 answers

Twilio Notifications alert received when app in foreground

I am using twilio push notifications in ios app. The problem is i am getting the notification alert in the foreground mode also. How it is possible as ios dont provide this. And another issue is how can i set the title for the twilio push…
shivi_shub
  • 1,018
  • 1
  • 7
  • 15
1
vote
1 answer

Twilio Programmable chat - Error 0:3 Request to EMS service has failed, unable to set FPA token

I am using twilio programmable chat for website and mobile apps (andriod and ios). We are generating a token from sever (PHP) and it seems be working fine on web. But on mobile Apps it return below Errors: Andriod: Error 0:3 Request to EMS service…
Puneet
  • 11
  • 2
1
vote
1 answer

Twilio Programmable Chat message data

When using Twilio Programmable Chat channel's 'sendMessage' method to send a message what is the best way to immediately retrieve the newly created message's sid and timestamp? The promise it returns does not contain these values. I have a use case…
William Edmondson
  • 3,619
  • 3
  • 32
  • 41
1
vote
0 answers

Twilio Chat JavaScript SDK getChannelByUniqueName now returns 403 forbidden

Yesterday, I was able to create and switch between multiple private channels using the following code. Everything was working perfectly. I use a Twilio paid production account. function setChannel() { // Retrieve private channel …
1
vote
0 answers

Twilio Chat Angular JS - 403 forbidden error

Integrated a Chat in one of my application. After some time of using the application, the chat API returns forbidden - 403 error unexpectedly. How can I resolve this issue? I need to publish the application to live.
1
vote
1 answer

iOS Twilio Programmable Chat Push Notifications

I've integrated Twilio Programmable Chat, but I've had some issues with push notifications that I'm trying to sort out. I'm looking at my code vs the example provided at https://www.twilio.com/docs/chat/ios/push-notifications-ios The first thing I…
Jake T.
  • 4,308
  • 2
  • 20
  • 48
1
vote
1 answer

The server was not able to find the TwiML application associated with the App SID

Twilio voice call got error "The server was not able to find the TwiML application associated with the App SID" followed step 1 - create the twiml app in console 2 - generated api keys 3 - integrated with code var identity =…
1
vote
1 answer

Twilio Chat User creation friendlyName

I am trying to make a chat sandboxing api, aka creating the user, channel and adding the user to the channel. The problem is that every time i call the restApi to create a new user, it doesn't take the attributes or the friendlyName. The code is the…
Adrian
  • 33
  • 4
1
vote
1 answer

Twilio - unable to get and delete private channels

I have create some private channels.During chat,I left the channel after chat finished.But now I am not able to get and delete those private channels. getSubscribedChannels not returning the list of those private channels. Also,If I do login in…
RIYAJ KHAN
  • 15,032
  • 5
  • 31
  • 53
1
vote
0 answers

TwilioChatClient.chatClient doesn't execute

I have to debug not my project and I see, that TwilioChatClient.chatClient method doesn't execute and I receive memory read failed error EXC_BAD_ACCESS (code=1, address=0x0). I saw similar topic, where advised to update Twilio, but it is installed…
1
vote
1 answer

How to unit test TwilioChatClient on iOS with Swift and CocoaPods

Since Twilio Programmable Chat SDK is quite complex I sometimes run into scenarios hard to replicate in the app, so I decided to do some unit tests. The problem is, I am unable to initialize the TwilioChatClient. Do you have an idea what am I doing…
1
vote
1 answer

How to set up email notifications about new messages in Twilio Programmable chat?

What is a correct way to synchronize Twilio chat consumption horizon and send an email notification with a list of new messages from our own server? I can use kind of pre-hooks / post-hooks for new messages, but I don't want to keep every message…
1
vote
2 answers

Accessing `this` within an event listener

Written in typescript, I have this: export class EventDiscussionPage { messages: any = [] private _channel: any; initChat() { this._channel.on('messageAdded', function(message) { this.messages.push(message); } …
Chris Rockwell
  • 1,688
  • 2
  • 21
  • 36
1
vote
1 answer

`channelAdded` event from `twilio-chat`

I'm currently upgrading my implementation that uses Twilio IPM to use the new GA release twilio-chat after previously using the twilio-ip-messaging package on npm. There are some disparities between the implementations, but this hasn't really been…
jamesism
  • 206
  • 1
  • 3
1
vote
1 answer

Twilio Chat in Angular2 application

I was trying to add a TWILIO Chat in my Angular2 application. I got a solution for importing TWILIO into our component from this link - How to use Twilio Client in Angular 2? . While consoling the Twilio variable, which i got from declare const…