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

Fixed wrong method call

Should be called `apihelper.answer_shipping_query` instead of `apihelper.answer_shippingQuery`
This commit is contained in:
Evgeny Petrov 2017-06-02 11:07:35 +03:00 committed by GitHub
parent 52e50f1286
commit cb4521f497

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)