ReplyMarkupShowKeyboard.fromJson constructor
Parses a ReplyMarkupShowKeyboard from TDLib JSON.
Implementation
factory ReplyMarkupShowKeyboard.fromJson(Map<String, dynamic> json) =>
ReplyMarkupShowKeyboard(
rows: _readList<List<KeyboardButton>>(
json['rows'],
(e) => _readList<KeyboardButton>(
e, (e1) => _readObject(e1, KeyboardButton.fromJson))),
isPersistent: _readBool(json['is_persistent']),
resizeKeyboard: _readBool(json['resize_keyboard']),
oneTime: _readBool(json['one_time']),
isPersonal: _readBool(json['is_personal']),
inputFieldPlaceholder: _readString(json['input_field_placeholder']),
);