From e47790ded8bd84fd738abce60d1e6777f78c56b7 Mon Sep 17 00:00:00 2001 From: Kondra007 Date: Sun, 17 Apr 2016 17:54:01 +0300 Subject: [PATCH] Fixed typo in types.py "switch_inline_quer" -> "switch_inline_query" --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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