Relative Content

Tag Archive for websockettwiliotwilio-conversations

Can I use Twilio Conversations to simulate a websockets system between two users?

I have a chat system implemented in Twilio, using Conversations API. However, when the view goes to the background, the receiver function conversationsClient(_ client: TwilioConversationsClient, conversation: TCHConversation, messageAdded message: TCHMessage) is no longer being triggered, when the new message arrives. How can I still receive messages, when the view goes in the background? What’s the best way to do this? Or, does Twilio has some kind of different websockets system, apart from Conversations API?