UpdateNewChosenInlineResult.fromJson constructor

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

Parse from a json

Implementation

factory UpdateNewChosenInlineResult.fromJson(Map<String, dynamic> json) =>
    UpdateNewChosenInlineResult(
      senderUserId: json['sender_user_id'],
      userLocation: json['user_location'] == null
          ? null
          : Location.fromJson(json['user_location']),
      query: json['query'],
      resultId: json['result_id'],
      inlineMessageId: json['inline_message_id'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );