InputInlineQueryResultContact.fromJson constructor

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

Parse from a json

Implementation

InputInlineQueryResultContact.fromJson(Map<String, dynamic> json) {
  this.id = json['id'];
  this.contact = Contact.fromJson(json['contact'] ?? <String, dynamic>{});
  this.thumbnailUrl = json['thumbnail_url'];
  this.thumbnailWidth = json['thumbnail_width'];
  this.thumbnailHeight = json['thumbnail_height'];
  this.replyMarkup =
      ReplyMarkup.fromJson(json['reply_markup'] ?? <String, dynamic>{});
  this.inputMessageContent = InputMessageContent.fromJson(
      json['input_message_content'] ?? <String, dynamic>{});
}