InlineQueryResultVoiceNote.fromJson constructor
Parses a InlineQueryResultVoiceNote from TDLib JSON.
Implementation
factory InlineQueryResultVoiceNote.fromJson(Map<String, dynamic> json) =>
InlineQueryResultVoiceNote(
id: _readString(json['id']),
voiceNote: _readObject(json['voice_note'], VoiceNote.fromJson),
title: _readString(json['title']),
);