UpdateNewInlineQuery.fromJson constructor
Parses a UpdateNewInlineQuery from TDLib JSON.
Implementation
factory UpdateNewInlineQuery.fromJson(Map<String, dynamic> json) =>
UpdateNewInlineQuery(
id: _readInt(json['id']),
senderUserId: _readInt(json['sender_user_id']),
userLocation: _readOptional(json['user_location'], Location.fromJson),
chatType: _readOptional(json['chat_type'], ChatType.fromJson),
query: _readString(json['query']),
offset: _readString(json['offset']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);