MessageVoiceNote.fromJson constructor
Parse from a json
Implementation
factory MessageVoiceNote.fromJson(Map<String, dynamic> json) => MessageVoiceNote(
voiceNote: VoiceNote.fromJson(json['voice_note']),
caption: FormattedText.fromJson(json['caption']),
isListened: json['is_listened'],
);