InlineQueryResultsButton.fromJson constructor
Creates an InlineQueryResultsButton from a JSON object.
Implementation
factory InlineQueryResultsButton.fromJson(Map<String, dynamic> json) {
return InlineQueryResultsButton(
text: json['text'],
webApp:
json['web_app'] != null ? WebAppInfo.fromJson(json['web_app']) : null,
startParameter: json['start_parameter'],
);
}