MoEngageInboxEntry
public class MoEngageInboxEntry: NSObject, NSCoding
Inbox Message model
-
MoEngage Account Identifier
Declaration
Swift
public let appID: String
-
Unique campaign Identifier
Declaration
Swift
public var campaignID: String?
-
Entire notification payload
Declaration
Swift
public var notificationPayloadDict: [String: Any] = [:]
-
Dict which contains additional key-value for when Navigate To Screen action is performed.
Declaration
Swift
public var screenDataDict: [String: Any] = [:]
-
Custom moengage dict in notification payload
Declaration
Swift
public var moengageDict: [String: Any] = [:]
-
Notification title
Declaration
Swift
public let notificationTitle: String
-
Notification subtitle
Declaration
Swift
public let notificationSubTitle: String
-
Notification body
Declaration
Swift
public var notificationBody: String = ""
-
Notification sound
Declaration
Swift
public let notificationSound: String?
-
Media url of the basic notification
Declaration
Swift
public let notificationMediaURL: String?
-
TimeStamp when notification is received by the device
Declaration
Swift
public internal(set) var receivedDate: Date?
-
TimeStamp when notification is clicked by the user
Declaration
Swift
public internal(set) var clickedDate: Date?
-
Inbox expiry date post which message will be removed from inbox. By defauly its 30 days
Declaration
Swift
public var inboxExpiryDate: Date?
-
If the action is Navigate to Screen, then
screenName
indicates the value.Declaration
Swift
public let screenName: String?
-
If the action is DeepLink, the
deepLinkURL
indicates the urlDeclaration
Swift
public let deepLinkURL: String?
-
If the action is RichLanding, then
richLandingURL
indicates the value.Declaration
Swift
public let richLandingURL: String?
-
If the action is Coupon Code, then
couponCode
indicates the value.Declaration
Swift
public let couponCode: String?
-
Value indicates if the inbox message is clicked by the user.
Declaration
Swift
public internal(set) var isRead: Bool = false