MessageDocument.fromJson constructor
Parse from a json
Implementation
factory MessageDocument.fromJson(Map<String, dynamic> json) => MessageDocument(
document: Document.fromJson(json['document']),
caption: FormattedText.fromJson(json['caption']),
);