InputInlineQueryResultDocument.fromJson constructor
Parse from a json
Implementation
factory InputInlineQueryResultDocument.fromJson(Map<String, dynamic> json) => InputInlineQueryResultDocument(
id: json['id'],
title: json['title'],
description: json['description'],
documentUrl: json['document_url'],
mimeType: json['mime_type'],
thumbnailUrl: json['thumbnail_url'],
thumbnailWidth: json['thumbnail_width'],
thumbnailHeight: json['thumbnail_height'],
replyMarkup: json['reply_markup'] == null ? null : ReplyMarkup.fromJson(json['reply_markup']),
inputMessageContent: InputMessageContent.fromJson(json['input_message_content']),
);