NotificationPayload
class NotificationPayload(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, val campaignAttributes: CampaignAttributes, val animatedImgUrl: String?)
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, campaignAttributes: CampaignAttributes, animatedImgUrl: String?)
Properties
Link copied to clipboard
List of Action buttons
Link copied to clipboard
Instance of AddOnFeatures
Link copied to clipboard
Url of the animated image to be shown in the notification. It can be either gif or webp.
Link copied to clipboard
Campaign Attributes
Link copied to clipboard
Unique identifier for each campaign.
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
Text content for the notification.