OgPreviewFilter typedef

OgPreviewFilter = bool Function(Uri matchedUri, String messageText)

Signature for the function that determines if a matchedUri should be previewed as an OG Attachment.

Implementation

typedef OgPreviewFilter = bool Function(
  Uri matchedUri,
  String messageText,
);