InboxMessageInteraction
@objc(SFMCSdkInboxMessageInteraction)
public final class InboxMessageInteraction : NSObject
One user tap on an inbox message, passed to
InboxFeatureApi.trackMessageInteractionEvent(_:interaction:).
-
Which object was tapped. See
InboxInteractionType.Declaration
Swift
@objc public let type: InboxInteractionType -
Button id for
.button. Passnilfor.cta. A caller-supplied id on.ctais ignored.Declaration
Swift
@objc public let id: String? -
Declaration
Swift
@objc public init(type: InboxInteractionType, id: String?)Parameters
type.ctafor the message action,.buttonfor a message button.idThe button id for
.button, ornilfor.cta.
InboxMessageInteraction Class Reference