Function logInAppMessageButtonClick

  • Logs that the user clicked the given in-app message button. This is done automatically when the user clicks on a button in a message generated by [[showInAppMessage]], and should only be called if you're bypassing that method and manually displaying the message in your own code.

    Parameters

    Returns Promise<boolean | undefined>

    Whether or not the event was successfully logged (to be flushed later).