public class PushData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PushData.Type
Chat push notification type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor()
Get the author (agent name).
|
static PushData |
getChatNotification(java.util.Map<java.lang.String,java.lang.String> data)
Get the chat notification details from a push notifications data.
|
java.lang.String |
getMessage()
Get the chat message.
|
PushData.Type |
getType()
Get the notification type.
|
@NonNull public static PushData getChatNotification(java.util.Map<java.lang.String,java.lang.String> data)
data
- the data from the push notification@NonNull public PushData.Type getType()
public java.lang.String getAuthor()
public java.lang.String getMessage()