ReplyKeyboardRemove.fromJson constructor

ReplyKeyboardRemove.fromJson(
  1. Map<String, dynamic> json
)

Creates a ReplyKeyboardRemove object from JSON object

Implementation

factory ReplyKeyboardRemove.fromJson(Map<String, dynamic> json) {
  return ReplyKeyboardRemove(
    removeKeyboard: json['remove_keyboard'],
    selective: json['selective'] ?? false,
  );
}