From 1c9a9b9622b164caeffe75e92cecffa01d4be106 Mon Sep 17 00:00:00 2001 From: Evgeny Petrov Date: Mon, 21 Nov 2016 08:57:38 +0300 Subject: [PATCH] hide_keyboard -> remove_keyboard --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index 9447064..0434a33 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -577,7 +577,7 @@ class ReplyKeyboardRemove(JsonSerializable): self.selective = selective def to_json(self): - json_dict = {'hide_keyboard': True} + json_dict = {'remove_keyboard': True} if self.selective: json_dict['selective'] = True return json.dumps(json_dict)