fromJson static method
Inherited by: InlineQueryResultAnimation InlineQueryResultArticle InlineQueryResultAudio InlineQueryResultContact InlineQueryResultDocument InlineQueryResultGame InlineQueryResultLocation InlineQueryResultPhoto InlineQueryResultSticker InlineQueryResultVenue InlineQueryResultVideo InlineQueryResultVoiceNote
Implementation
static InlineQueryResultAudio? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InlineQueryResultAudio(
id: (json['id'] as String?) ?? '',
audio: Audio.fromJson(tdMapFromJson(json['audio'])),
);
}