From 84b1aca939f783fe90422d9deefb0c9192d8c75d Mon Sep 17 00:00:00 2001 From: eternnoir Date: Thu, 25 May 2017 11:23:37 +0800 Subject: [PATCH] Fix method name. --- telebot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index ba12944..8b6953d 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -914,7 +914,7 @@ class TeleBot: return decorator - def add_pre_checkout_queryhandler(self, handler_dict): + def add_pre_checkout_query_handler(self, handler_dict): self.pre_checkout_query_handlers.append(handler_dict) def _test_message_handler(self, message_handler, message):