LinkAttachmentFactory

constructor(linkDescriptionMaxLines: Int, onContentItemClick: (context: Context, previewUrl: String) -> Unit = ::onLinkAttachmentContentClick)

Parameters

linkDescriptionMaxLines
  • The limit of how many lines we show for the link description.

onContentItemClick

Lambda called when an item gets clicked.