InputMessageVideoNote.fromJson constructor
Parses a InputMessageVideoNote from TDLib JSON.
Implementation
factory InputMessageVideoNote.fromJson(Map<String, dynamic> json) =>
InputMessageVideoNote(
videoNote: _readObject(json['video_note'], InputVideoNote.fromJson),
selfDestructType: _readOptional(
json['self_destruct_type'],
MessageSelfDestructType.fromJson,
),
);