NotificationPayload

class NotificationPayload constructor(val notificationType: String, val campaignId: String, val text: NotificationText, val imageUrl: String?, var channelId: String, val inboxExpiry: Long, val actionButtons: List<ActionButton>, val addOnFeatures: AddOnFeatures, val payload: Bundle)

Notification payload

Author

Umang Chamaria

Constructors

Link copied to clipboard
constructor(notificationType: String, campaignId: String, text: NotificationText, imageUrl: String?, channelId: String, inboxExpiry: Long, actionButtons: List<ActionButton>, addOnFeatures: AddOnFeatures, payload: Bundle)

Properties

Link copied to clipboard
val actionButtons: List<ActionButton>

List of Action buttons

Link copied to clipboard
Link copied to clipboard

Unique identifier for each campaign.

Link copied to clipboard

Channel to which notification should be posted.

Link copied to clipboard

Url of the image to be shown in the notification.

Link copied to clipboard

Time at which notification should be deleted from inbox. Epoch value.

Link copied to clipboard

Notification type

Link copied to clipboard

Payload received in Bundle format.

Link copied to clipboard

Text content for the notification.

Functions

Link copied to clipboard
open override fun toString(): String