Extension settings
- Login to CometChat and select your app.
- Go to the Extensions section and enable the Link Preview extension.
How does it work?
We provide you a few details about the URL that is in your message. The details are as follows:- Description
- Favicon
- Image
- Title
- URL.
Implementation
Using the Link Preview extension, you can build a preview box similar to the one you’ve seen in Slack.
getMetadata()
method.
Links that take more than a second to resolve will be automatically skipped to keep in-flight transit time to a minimum.