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

Merge pull request #349 from MasterGroosha/patch-2

Fixed wrong method call
This commit is contained in:
FrankWang 2017-06-02 16:13:18 +08:00 committed by GitHub
commit 4e1d5b83b6

View File

@ -661,7 +661,7 @@ class TeleBot:
return types.Message.de_json(result)
def answer_shipping_query(self, shipping_query_id, ok, shipping_options=None, error_message=None):
return apihelper.answer_shippingQuery(self.token, shipping_query_id, ok, shipping_options, error_message)
return apihelper.answer_shipping_query(self.token, shipping_query_id, ok, shipping_options, error_message)
def answer_pre_checkout_query(self, pre_checkout_query_id, ok, error_message=None):
return apihelper.answer_pre_checkout_query(self.token, pre_checkout_query_id, ok, error_message)