Braze React Native SDK - v21.0.0
    Preparing search index...

    Class BrazeInAppMessage

    Index

    Constructors

    Properties

    buttons: [BrazeButton]

    The list of buttons on the in-app message.

    clickAction: "news_feed" | "uri" | "none"

    The button click action.

    dismissType: "swipe" | "auto_dismiss"

    The message close type.

    duration: number

    The message display duration.

    extras: { [key: string]: string }

    The message extras dictionary (default: {})

    header: string

    The message header.

    imageAltText: string

    The alt text for the message image for accessibility.

    imageUrl: string

    The message image URL.

    inAppMessageJsonString: string

    The message JSON representation as a string.

    isTestSend: boolean

    Specifies whether the message was delivered as a test send (default: false).

    language: string

    The language of the message for accessibility.

    message: string

    The message text.

    messageType: "slideup" | "modal" | "full" | "html_full"

    The in-app message type supported by the SDK.

    uri: string

    The URI associated with the click action in the message body.

    useWebView: boolean

    Indicates whether the button click action should redirect using a web view.

    zippedAssetsUrl: string

    (Legacy) The zipped assets for legacy HTML IAM content.

    Methods

    • The message as a human-readable string. Use inAppMessageJsonString to get the non-formatted JSON representation.

      Returns string