PreparedInlineMessage.fromJson constructor
Parses a PreparedInlineMessage from TDLib JSON.
Implementation
factory PreparedInlineMessage.fromJson(Map<String, dynamic> json) =>
PreparedInlineMessage(
inlineQueryId: _readInt(json['inline_query_id']),
result: _readObject(json['result'], InlineQueryResult.fromJson),
chatTypes: _readObject(json['chat_types'], TargetChatTypes.fromJson),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);