InputInlineQueryResultPhoto.fromJson constructor
Parse from a json
Implementation
factory InputInlineQueryResultPhoto.fromJson(Map<String, dynamic> json) =>
InputInlineQueryResultPhoto(
id: json['id'],
title: json['title'],
description: json['description'],
thumbnailUrl: json['thumbnail_url'],
photoUrl: json['photo_url'],
photoWidth: json['photo_width'],
photoHeight: json['photo_height'],
replyMarkup: json['reply_markup'] == null
? null
: ReplyMarkup.fromJson(json['reply_markup']),
inputMessageContent:
InputMessageContent.fromJson(json['input_message_content']),
);