InAppMessageEvent

data class InAppMessageEvent(val triggerEvent: ITriggerEvent, val triggerAction: ITriggeredAction, val inAppMessage: IInAppMessage, val userId: String?)

When Braze receives a new in-app message in a server response, this event is fired. The message itself is provided along with the id of the user that the message is for (or null if no user id was set).

Constructors

Link copied to clipboard
fun InAppMessageEvent(triggerEvent: ITriggerEvent, triggerAction: ITriggeredAction, inAppMessage: IInAppMessage, userId: String?)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
val triggerAction: ITriggeredAction
Link copied to clipboard
val triggerEvent: ITriggerEvent
Link copied to clipboard