PushMessage

Represents a push message.

Represents a push message.

Syntax: class PushMessage : JsonSerializable

Constructors

NameSyntax
PushMessageconstructor()

Types

NameSyntaxDescription
Companionobject Companion : JsonDeserializable<PushMessage>Companion object for the PushMessage class.

Properties

Name TypeDescription
categoryStringval category: String
The category of the push message.
createdAt Dateval createdAt: Date?
The date when the push message was created.
customTagsStringval customTags: JSONObject?
Any custom tags associated with the push message.
deliveredAtDatevar deliveredAt: Date?
The date when the push message was delivered.
displayOptions Dateval displayOptions: DisplayOptions?
The display options of the push message.
extrasDateval extras: JSONObject?
Any extra data associated with the push message.
messageStringvar message: String
The push message content.
notificationChannelIdStringval notificationChannelId: String
The notification channel ID of the push message.
priority Intval priority: Int
The priority of the push message for notification.
readAtDatevar readAt: Date?
The date when the push message was read.
statusStringvar status: PushMessageStatus
The status of the push message.
submittedAtDateval submittedAt: Date?
The date when the push message was submitted
title Stringval title: String
The title of the push message.
transactionIdStringval transactionId: String
The transaction ID of the push message.

Functions

NameSyntaxDescription
toJsonopen override fun toJson(): JSONObjectConverts the push message to a JSON object.