InlineQueryResultVoiceNote.fromJson constructor

InlineQueryResultVoiceNote.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory InlineQueryResultVoiceNote.fromJson(Map<String, dynamic> json) => InlineQueryResultVoiceNote(
  id: json['id'],
  voiceNote: VoiceNote.fromJson(json['voice_note']),
  title: json['title'],
);