MoEngageInboxEntry

@objc
public class MoEngageInboxEntry : NSObject, NSCoding

Inbox Message model

  • MoEngage Account Identifier

    Declaration

    Swift

    @objc
    public let appID: String
  • Unique campaign Identifier

    Declaration

    Swift

    @objc
    public var campaignID: String?
  • Entire notification payload

    Declaration

    Swift

    @objc
    public var notificationPayloadDict: [String : Any]
  • Dict which contains additional key-value for when Navigate To Screen action is performed.

    Declaration

    Swift

    @objc
    public var screenDataDict: [String : Any]
  • Custom moengage dict in notification payload

    Declaration

    Swift

    @objc
    public var moengageDict: [String : Any]
  • Notification title

    Declaration

    Swift

    @objc
    public let notificationTitle: String
  • Notification subtitle

    Declaration

    Swift

    @objc
    public let notificationSubTitle: String
  • Notification body

    Declaration

    Swift

    @objc
    public var notificationBody: String
  • Notification sound

    Declaration

    Swift

    @objc
    public let notificationSound: String?
  • Media url of the basic notification

    Declaration

    Swift

    @objc
    public let notificationMediaURL: String?
  • TimeStamp when notification is received by the device

    Declaration

    Swift

    @objc
    public internal(set) var receivedDate: Date? { get }
  • TimeStamp when notification is clicked by the user

    Declaration

    Swift

    @objc
    public internal(set) var clickedDate: Date? { get }
  • Inbox expiry date post which message will be removed from inbox. By defauly its 30 days

    Declaration

    Swift

    @objc
    public var inboxExpiryDate: Date?
  • If the action is Navigate to Screen, then screenName indicates the value.

    Declaration

    Swift

    @objc
    public let screenName: String?
  • If the action is DeepLink, the deepLinkURL indicates the url

    Declaration

    Swift

    @objc
    public let deepLinkURL: String?
  • If the action is RichLanding, then richLandingURL indicates the value.

    Declaration

    Swift

    @objc
    public let richLandingURL: String?
  • If the action is Coupon Code, then couponCode indicates the value.

    Declaration

    Swift

    @objc
    public let couponCode: String?
  • Value indicates if the inbox message is clicked by the user.

    Declaration

    Swift

    @objc
    public internal(set) var isRead: Bool { get }