InputMessageDocument.fromJson constructor
Parse from a json
Implementation
factory InputMessageDocument.fromJson(Map<String, dynamic> json) => InputMessageDocument(
document: InputFile.fromJson(json['document']),
thumbnail: json['thumbnail'] == null ? null : InputThumbnail.fromJson(json['thumbnail']),
disableContentTypeDetection: json['disable_content_type_detection'],
caption: json['caption'] == null ? null : FormattedText.fromJson(json['caption']),
);