InputMessageVideoNote.fromJson constructor
Parse from a json
Implementation
factory InputMessageVideoNote.fromJson(Map<String, dynamic> json) =>
InputMessageVideoNote(
videoNote: InputFile.fromJson(json['video_note']),
thumbnail: json['thumbnail'] == null
? null
: InputThumbnail.fromJson(json['thumbnail']),
duration: json['duration'],
length: json['length'],
);