InputInlineQueryResultVoiceNote.fromJson constructor
Parse from a json
Implementation
factory InputInlineQueryResultVoiceNote.fromJson(Map<String, dynamic> json) => InputInlineQueryResultVoiceNote(
id: json['id'],
title: json['title'],
voiceNoteUrl: json['voice_note_url'],
voiceNoteDuration: json['voice_note_duration'],
replyMarkup: json['reply_markup'] == null ? null : ReplyMarkup.fromJson(json['reply_markup']),
inputMessageContent: InputMessageContent.fromJson(json['input_message_content']),
);