-
public class PushNotificationChatMessageThe part of GliaFcmMessage See https://docs.glia.com/glia-dev/reference/webhooks for more information of push notification fields.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPushNotificationChatMessage.StatusDefines chat message statuses.
public enumPushNotificationChatMessage.ParticipantDefines possible chat participant types.
-
Field Summary
Fields Modifier and Type Field Description private Stringtimestampprivate StringmessageIdprivate StringengagementIdprivate StringsubEngagementIdprivate Stringcontentprivate PushNotificationChatMessage.Statusstatusprivate PushNotificationChatMessage.Participanttargetprivate MessageAttachmentInternalattachment
-
Method Summary
Modifier and Type Method Description StringgetTimestamp()Server time at the moment that the server receives the message. StringgetMessageId()StringgetEngagementId()StringgetSubEngagementId()StringgetContent()The message content. PushNotificationChatMessage.StatusgetStatus()See Status for possible values. PushNotificationChatMessage.ParticipantgetTarget()The target is the recipient of the message. MessageAttachmentInternalgetAttachment()-
-
Method Detail
-
getTimestamp
@NonNull() String getTimestamp()
Server time at the moment that the server receives the message.
-
getMessageId
@NonNull() String getMessageId()
-
getEngagementId
@NonNull() String getEngagementId()
-
getSubEngagementId
@NonNull() String getSubEngagementId()
-
getContent
@NonNull() String getContent()
The message content.
-
getStatus
@NonNull() PushNotificationChatMessage.Status getStatus()
See Status for possible values.
-
getTarget
@NonNull() PushNotificationChatMessage.Participant getTarget()
The target is the recipient of the message.See Participant for possible values.
-
getAttachment
@Nullable() MessageAttachmentInternal getAttachment()
-
-
-
-