GetWebPagePreview constructor
const
GetWebPagePreview({
- required FormattedText text,
- LinkPreviewOptions? linkPreviewOptions,
Returns a link preview by the text of a message. Do not call this function too often. Returns a 404 error if the text has no link preview
Implementation
const GetWebPagePreview({
required this.text,
this.linkPreviewOptions,
});