InputInlineQueryResultVenue.fromJson constructor
Parses a InputInlineQueryResultVenue from TDLib JSON.
Implementation
factory InputInlineQueryResultVenue.fromJson(Map<String, dynamic> json) =>
InputInlineQueryResultVenue(
id: _readString(json['id']),
venue: _readObject(json['venue'], Venue.fromJson),
thumbnailUrl: _readString(json['thumbnail_url']),
thumbnailWidth: _readInt(json['thumbnail_width']),
thumbnailHeight: _readInt(json['thumbnail_height']),
replyMarkup: _readOptional(json['reply_markup'], ReplyMarkup.fromJson),
inputMessageContent: _readObject(
json['input_message_content'], InputMessageContent.fromJson),
);