MessageVideo.fromJson constructor
Parse from a json
Implementation
factory MessageVideo.fromJson(Map<String, dynamic> json) => MessageVideo(
video: Video.fromJson(json['video']),
caption: FormattedText.fromJson(json['caption']),
hasSpoiler: json['has_spoiler'],
isSecret: json['is_secret'],
);