Chat Android SDK  7.0.1
com.twilio.chat.Channel.UpdateReason Enum Reference

Indicates reason for channel update. More...

Public Attributes

 STATUS =(1)
 Channel status changed. More...
 
 LAST_CONSUMED_MESSAGE_INDEX =(2)
 Channel last consumed message changed. More...
 
 UNIQUE_NAME =(3)
 Channel unique name changed. More...
 
 FRIENDLY_NAME =(4)
 Channel friendly name changed. More...
 
 ATTRIBUTES =(5)
 Channel attributes changed. More...
 
 LAST_MESSAGE =(6)
 Last message in channel changed. More...
 
 NOTIFICATION_LEVEL =(7)
 Notification level changed. More...
 

Detailed Description

Indicates reason for channel update.

Member Data Documentation

com.twilio.chat.Channel.UpdateReason.ATTRIBUTES =(5)

Channel attributes changed.

com.twilio.chat.Channel.UpdateReason.FRIENDLY_NAME =(4)

Channel friendly name changed.

com.twilio.chat.Channel.UpdateReason.LAST_CONSUMED_MESSAGE_INDEX =(2)

Channel last consumed message changed.

com.twilio.chat.Channel.UpdateReason.LAST_MESSAGE =(6)

Last message in channel changed.

This update does not trigger when message itself changes, there's Message.UpdateReason event for that. However, if a new message is added or last channel message is deleted this event will be triggered.

See also
getLastMessageDate and getLastMessageIndex to get updated last message.
com.twilio.chat.Channel.UpdateReason.NOTIFICATION_LEVEL =(7)

Notification level changed.

See also
NotificationLevel
setNotificationLevel
com.twilio.chat.Channel.UpdateReason.STATUS =(1)

Channel status changed.

com.twilio.chat.Channel.UpdateReason.UNIQUE_NAME =(3)

Channel unique name changed.