isTranscriptMessage function
Check if an entry is a transcript message (not metadata like content-replacement).
Implementation
bool isTranscriptMessage(Map<String, dynamic> entry) {
final type = entry['type'] as String?;
return type != null && type != 'content-replacement';
}