onLinkCTAPreviewURLClicked

open fun onLinkCTAPreviewURLClicked(url: String, showCustomLinkPreviewView: (View) -> Unit)

This function will let you know that a user clicked CTA Link preview on CTA editor. You can show your custom web view on this callback. You should set isCustomPreviewView to true in MomentsLinkCTAConfig in order to use this function

  • Parameter url: Url of the link.

  • Parameter showCustomLinkPreviewDialog: When you want to show custom LinkPreviewDialog return a view with this lambda.