Programmable Chat has been deprecated and is no longer supported. Instead, we'll be focusing on the next generation of chat: Twilio Conversations. Find out more about the EOL process here.
If you're starting a new project, please visit the Conversations Docs to begin. If you've already built on Programmable Chat, please visit our Migration Guide to learn about how to switch.
We recommend using these links in your projects. As we patch bugs, these links will automatically be updated with the fixes.
Links are provided to specific patch versions here. We don't recommend using these links unless you have a specific need for a certain patch of a release.
0
on a channelsetNoMessagesConsumed
method to reset consumption horizon to the default state of no messages consumedAttributes
property to Message objectAccessManager.updateToken(token)
did not work for the JS IP Messaging SDK client1<script src="https://media.twiliocdn.com/sdk/js/common/releases/0.1.7/twilio-common.min.js"></script>2<script src="https://media.twiliocdn.com/sdk/rtc/js/ip-messaging/releases/0.10.12/twilio-ip-messaging.min.js"></script>3
Channel.typingStarted
and Channel.typingEnded
were inverted.IPMessaging.Client()
constructor, Client.identity should now be fully URI decoded.Client.accessManager.updateToken()
should no longer cause exceptions.Feature add: Consumption horizon
Consumption Horizon gives your applications visibility into each Member's consumption of the messages in a Channel. The following methods have been added to support Consumption Horizon:
Consumption horizon additions:
function Channel.updateLastConsumedMessageIndex(Number index)
int Channel.lastConsumedMessageIndex
int Member.lastConsumedMessageIndex
Date Member.lastConsumptionTimestamp
int Message.index
API Changes:
Member#updated
will now also fire when Member.lastConsumedMessageIndex
is updated.
Channel#updated
will now also fire when Channel.lastConsumedMessageIndex
is updated.
New Channel properties:
String Channel.createdBy
Date Channel.dateCreated
Date Channel.dateUpdated