CallbackQueryAnswer.fromJson constructor

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

Parse from a json

Implementation

factory CallbackQueryAnswer.fromJson(Map<String, dynamic> json) => CallbackQueryAnswer(
  text: json['text'],
  showAlert: json['show_alert'],
  url: json['url'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);