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:
parent
1691e84d01
commit
1c9a9b9622
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user