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:
parent
d0666071d8
commit
e47790ded8
@ -670,7 +670,7 @@ class InlineKeyboardButton(JsonSerializable):
|
||||
if self.callback_data:
|
||||
json_dic['callback_data'] = self.callback_data
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user