InlineQueryResultVenue.fromJson constructor

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

Parses a InlineQueryResultVenue from TDLib JSON.

Implementation

factory InlineQueryResultVenue.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultVenue(
      id: _readString(json['id']),
      venue: _readObject(json['venue'], Venue.fromJson),
      thumbnail: _readOptional(json['thumbnail'], Thumbnail.fromJson),
    );