checkForThumbnail method
Implementation
String? checkForThumbnail(MediaMessage message) {
try {
String? smallUrl = getThumbnailGeneration(message);
Attachment? attachment = message.attachment;
if (attachment != null) {
if (smallUrl != null) {
return smallUrl;
}
}
} catch (_) {}
return null;
}