Function logInAppMessageClick

  • Logs that the user clicked the given in-app message.

    Parameters

    • inAppMessage: InAppMessage

      The in-app message that was clicked.

    Returns Promise<boolean | undefined>

    Resolves to a boolean that indicates whether the click event was successfully enqueued. Resolves to undefined if the SDK is not initialized.