Chat Android SDK  7.0.1
com.twilio.chat.NotificationPayload.Type Enum Reference

Represents payload type. More...

Public Attributes

 UNKNOWN =(0)
 Not a Twilio payload. More...
 
 NEW_MESSAGE =(1)
 New message notification. More...
 
 INVITED_TO_CHANNEL =(2)
 Channel invite notification. More...
 
 ADDED_TO_CHANNEL =(3)
 Channel add notification. More...
 
 REMOVED_FROM_CHANNEL =(4)
 Channel remove notification. More...
 

Detailed Description

Represents payload type.

Payload types are defined by Twilio Chat. When you receive a new push notification you could check if it is coming from Twilio Chat.

Member Data Documentation

com.twilio.chat.NotificationPayload.Type.ADDED_TO_CHANNEL =(3)

Channel add notification.

com.twilio.chat.NotificationPayload.Type.INVITED_TO_CHANNEL =(2)

Channel invite notification.

com.twilio.chat.NotificationPayload.Type.NEW_MESSAGE =(1)

New message notification.

com.twilio.chat.NotificationPayload.Type.REMOVED_FROM_CHANNEL =(4)

Channel remove notification.

com.twilio.chat.NotificationPayload.Type.UNKNOWN =(0)

Not a Twilio payload.