InputMessageVideoNote.fromJson constructor
Parses a InputMessageVideoNote from TDLib JSON.
Implementation
factory InputMessageVideoNote.fromJson(Map<String, dynamic> json) =>
InputMessageVideoNote(
videoNote: _readObject(json['video_note'], InputFile.fromJson),
thumbnail: _readOptional(json['thumbnail'], InputThumbnail.fromJson),
duration: _readInt(json['duration']),
length: _readInt(json['length']),
);