InboxMessageInteraction

data class InboxMessageInteraction(val type: InboxInteractionType, val id: String?)

A single button/CTA interaction reported against an InboxMessage via inboxfeature.InboxMessageManager.trackMessageInteractionEvent.

For InboxInteractionType.CTA the SDK always overrides the caller-supplied id with the message's own InboxMessage.id before publishing — the CTA is the message, so a caller-passed CTA id is advisory only. For InboxInteractionType.BUTTON the interaction is published only when id matches a button in InboxMessage.buttons; a non-matching, absent, or null id resolves to nothing and no event is published.

Constructors

Link copied to clipboard
constructor(type: InboxInteractionType, id: String?)

Properties

Link copied to clipboard
val id: String?
Link copied to clipboard