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: StringThe 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 PushdisplayOptions: PushDisplayOptions?The display options of the push message. |
| extras | Date | val extras: JSONObject?Any extra data associated with the push message. |
| message | String | var message: StringThe push message content. |
| notificationChannelId | String | val notificationChannelId: StringThe notification channel ID of the push message. |
| priority | Int | val priority: IntThe priority of the push message for notification. |
| readAt | Date | var readAt: Date?The date when the push message was read. |
| status | String | var status: PushMessageStatusThe status of the push message. |
| submittedAt | Date | val submittedAt: Date?The date when the push message was submitted |
| title | String | val title: StringThe title of the push message. |
| transactionId | String | val transactionId: StringThe 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 7 months ago
