UpdateNewChosenInlineResult.fromJson constructor
Parses a UpdateNewChosenInlineResult from TDLib JSON.
Implementation
factory UpdateNewChosenInlineResult.fromJson(Map<String, dynamic> json) =>
UpdateNewChosenInlineResult(
senderUserId: _readInt(json['sender_user_id']),
userLocation: _readOptional(json['user_location'], Location.fromJson),
query: _readString(json['query']),
resultId: _readString(json['result_id']),
inlineMessageId: _readString(json['inline_message_id']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);