fromJson static method
Inherited by: ReplyMarkupForceReply ReplyMarkupInlineKeyboard ReplyMarkupRemoveKeyboard ReplyMarkupShowKeyboard
Implementation
static ReplyMarkupForceReply? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ReplyMarkupForceReply(
isPersonal: (json['is_personal'] as bool?) ?? false,
inputFieldPlaceholder: (json['input_field_placeholder'] as String?) ?? '',
);
}