diff --git a/telebot/types.py b/telebot/types.py index b0acca1..01bbd1b 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -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