InputVoiceNote.fromJson constructor
Parses a InputVoiceNote from TDLib JSON.
Implementation
factory InputVoiceNote.fromJson(Map<String, dynamic> json) => InputVoiceNote(
voiceNote: _readObject(json['voice_note'], InputFile.fromJson),
duration: _readInt(json['duration']),
waveform: _readString(json['waveform']),
);