Given a piece of text, checks for any URL present, generates link preview for the same and returns it Return undefined if the fetch failed or no URL was found
first matched URL in text
the URL info required to generate link preview
Generated using TypeDoc
Given a piece of text, checks for any URL present, generates link preview for the same and returns it Return undefined if the fetch failed or no URL was found