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

Fixed typo in types.py

"switch_inline_quer" -> "switch_inline_query"
This commit is contained in:
Kondra007 2016-04-17 17:54:01 +03:00
parent d0666071d8
commit e47790ded8

View File

@ -670,7 +670,7 @@ class InlineKeyboardButton(JsonSerializable):
if self.callback_data: if self.callback_data:
json_dic['callback_data'] = self.callback_data json_dic['callback_data'] = self.callback_data
if self.switch_inline_query: if self.switch_inline_query:
json_dic['switch_inline_quer'] = self.switch_inline_quer json_dic['switch_inline_quer'] = self.switch_inline_query
return json_dic return json_dic