@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 536 B
TypeScript
/**
* @deprecated This function will to be deprecated and use the new getLinkPreviewMetadata
*/
/**
* ```js
* import { fetchLinkPreview } from '@amityco/ts-sdk-react-native'
* const { title, description, imageUrl } = fetchLinkPreview('https://www.example.com/')
* ```
*
*
* @param url the url to fetch link preview
* @returns A {@link Amity.LinkPreview} instance
*
* @category Client API
* */
export declare const fetchLinkPreview: (url: string) => Promise<Amity.LinkPreview>;
//# sourceMappingURL=fetchLinkPreview.d.ts.map