PushMessage
Represents a push message.
Represents a push message.
Syntax: class PushMessage : JsonSerializable
Constructors
Name | Syntax |
---|---|
PushMessage | constructor() |
Types
Name | Syntax | Description |
---|---|---|
Companion | object Companion : JsonDeserializable<PushMessage> | Companion object for the PushMessage class. |
Properties
Name | Type | Description |
---|---|---|
category | String | val category: String The category of the push message. |
createdAt | Date | val createdAt: Date? The date when the push message was created. |
customTags | String | val customTags: JSONObject? Any custom tags associated with the push message. |
deliveredAt | Date | var deliveredAt: Date? The date when the push message was delivered. |
displayOptions | Date | val displayOptions: DisplayOptions? The display options of the push message. |
extras | Date | val extras: JSONObject? Any extra data associated with the push message. |
message | String | var message: String The push message content. |
notificationChannelId | String | val notificationChannelId: String The notification channel ID of the push message. |
priority | Int | val priority: Int The priority of the push message for notification. |
readAt | Date | var readAt: Date? The date when the push message was read. |
status | String | var status: PushMessageStatus The status of the push message. |
submittedAt | Date | val submittedAt: Date? The date when the push message was submitted |
title | String | val title: String The title of the push message. |
transactionId | String | val transactionId: String The transaction ID of the push message. |
Functions
Name | Syntax | Description |
---|---|---|
toJson | open override fun toJson(): JSONObject | Converts the push message to a JSON object. |
Updated about 1 month ago