1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

hide_keyboard -> remove_keyboard

This commit is contained in:
Evgeny Petrov 2016-11-21 08:57:38 +03:00 committed by GitHub
parent 1691e84d01
commit 1c9a9b9622

View File

@ -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)