-
- All Implemented Interfaces:
-
java.io.Serializable
public final class PushNotificationChatData implements Serializable
Holds all the data that is hubspot specific, extracted from a push notification collection. A convenient way to bundle all the known parameters together for passing along from notification delegate to the hubspotchatview
These keys are also defined as constants here as key value pair: titleKey = Represent the Notification Title bodyKey = Represent the Notification Body portalIdKey = Represent the Notification Portal Id threadIdKey = Represent the Notification Thread Id chatFlowId = Represent the Notification ChatFlowId
The presence of any of these keys is use to indicate that the push message is for a hubspot chat. They are used by the helper method
`HubspotManager/isHubspotNotification(notification)`
-
-
Constructor Summary
Constructors Constructor Description PushNotificationChatData(Map<String, String> notificationData)
-
Method Summary
Modifier and Type Method Description final StringgetTitle()final StringgetBody()final StringgetPortalId()final StringgetThreadId()final StringgetChatflow()-
-
Method Detail
-
getPortalId
final String getPortalId()
-
getThreadId
final String getThreadId()
-
getChatflow
final String getChatflow()
-
-
-
-