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