GetLinkPreview constructor
const
GetLinkPreview({
- 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 GetLinkPreview({required this.text, this.linkPreviewOptions});