InputMessageInvoice.fromJson constructor
Parse from a json
Implementation
factory InputMessageInvoice.fromJson(Map<String, dynamic> json) =>
InputMessageInvoice(
invoice: Invoice.fromJson(json['invoice']),
title: json['title'],
description: json['description'],
photoUrl: json['photo_url'],
photoSize: json['photo_size'],
photoWidth: json['photo_width'],
photoHeight: json['photo_height'],
payload: json['payload'],
providerToken: json['provider_token'],
providerData: json['provider_data'],
startParameter: json['start_parameter'],
extendedMediaContent:
InputMessageContent.fromJson(json['extended_media_content']),
);